Re: Loop Question

2013-06-24 Thread christhecomic
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

Re: Loop Question

2013-06-24 Thread christhecomic
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/

Re: Loop Question

2013-06-23 Thread christhecomic
I'm using 2.7 -- http://mail.python.org/mailman/listinfo/python-list

Loop Question

2013-06-23 Thread christhecomic
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

newbie question

2013-06-22 Thread christhecomic
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