On Sunday, June 23, 2013 6:18:35 PM UTC-5, christ...@gmail.com wrote:
> How do I bring users back to beginning of user/password question once they
>
> fail it? thx
Can't seem to get this to cooperate...where does the while statement belong?
--
http://mail.python.org/mailman/listinfo/python-list
Here is my code...I'm using 2.7.5
username=raw_input("Please enter your username: ")
password=raw_input("Please enter your password: ")
if username == "john doe" and password == "fopwpo":
print "Login Successful"
else:
print "Please try again"
--
http://mail.python.org/mailman/listinfo/
I'm using 2.7
--
http://mail.python.org/mailman/listinfo/python-list
How do I bring users back to beginning of user/password question once they
fail it? thx
--
http://mail.python.org/mailman/listinfo/python-list
Writing simple program asking a question with the answer being "yes"...how do I
allow the correct answer if user types Yes, yes, or YES?
Thanks
--
http://mail.python.org/mailman/listinfo/python-list