I need help figuring out how to fix this code.

Devan L devlai at gmail.com
Tue Jun 28 15:03:09 EDT 2005


password = raw_input("Type in the password, please: ")
  while password != "hello":
      print "Incorrect password!"
Wouldn't this print "Incorrect password" untill the end of time if you
didn't supply the correct password?




More information about the Python-list mailing list