On 6/30/2009 7:53 PM Daniel Sato said...
I have been able to make the module quit after entering a password three times, but can't get it to quit right away after the correct one is entered. I know this is really basic, please forgive me. I have no programming experience and have just started going through these tutorials.

My code is here:

http://python.pastebin.com/m6036b52e

First, paste your code into a python command window. You'll get errors, but clean them up. Second, code blocks that are indented alike execute as part of the same block. Take a look where you increment count.

HTH,

Emile

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to