[Tutor] password loop

eire1130 at gmail.com eire1130 at gmail.com
Sat Sep 24 01:15:36 CEST 2011


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 <kellyadrian at hotmail.com>
Sender: tutor-bounces+eire1130=gmail.com at python.org
Date: Fri, 23 Sep 2011 22:56:46 
To: <tutor at python.org>
Subject: [Tutor] password loop

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




More information about the Tutor mailing list