The while condition is never true when you enter the correct password. So the 
while loop is evaluated False and is never triggered.



What you should do, as a general rule of troubleshooting, is to use print 
statements. So print the two outcomes and print the boolean evaluation

I'm assuming when it is false that it prints 'try again'  infinitely.




Sent from my Verizon Wireless BlackBerry

-----Original Message-----
From: ADRIAN KELLY <[email protected]>
Sender: [email protected]
Date: Fri, 23 Sep 2011 22:56:46 
To: <[email protected]>
Subject: [Tutor] password loop

_______________________________________________
Tutor maillist  -  [email protected]
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor


_______________________________________________
Tutor maillist  -  [email protected]
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to