Hi, Am 24.06.2013 14:12 schrieb christheco...@gmail.com:
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"
while not username or not password or username != "john doe" or password != "fopwpo":
print "Please try again" username=raw_input("Please enter your username: ") password=raw_input("Please enter your password: ") print "Login Successful" -- Opt out of PRISM, the NSA’s global data surveillance program. Stop reporting your online activities to the American government with these free alternatives to proprietary software. http://prism-break.org/ -- http://mail.python.org/mailman/listinfo/python-list