Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- username = ""
- password = ""
- logout = ""
- logout1 = 0
- while logout1 == 0:
- username = raw_input("Username")
- password = raw_input("Password")
- if username == "carllll" and password == "oklahoma1":
- print "Hello Carl."
- logout1 = 1
- if username == "pyrofreak143" and password == "lozer":
- print "Hello George."
- logout1 = 1
- if username == "Jazi" and password == "jazi":
- print "Hello Matt."
- logout1 = 1
- else print "error, please ask carl to input your name/password into the database"
- while username != "":
- logout = raw_input("Would you like to logout?")
- if logout == "yes":
- logout1 = 0
- if logout == "no":
- logout1 = 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement