Advertisement
Guest User

Untitled

a guest
Oct 2nd, 2017
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. users = []
  2. def menu():
  3. print "Hello, and welcome to Uplink International. If you already have an\
  4. account, press 1 to create an account, or if you are already a user,\
  5. press 2 to log in. Press 0 to exit."
  6. choice = input('What would you like to do? ')
  7. print ""
  8. return choice
  9. choice = menu()
  10. if choice == 0:
  11. print "Goodbye."
  12. exit
  13. elif choice == 1:
  14. print "Please enter your desired username and password (case sensitive)."
  15. print " "
  16. username = raw_input('Username: ')
  17. password = raw_input('Password: ')
  18. users.append([username, password])
  19. elif choice == 2:
  20. username = raw_input('Username: ')
  21. password = raw_input('Password: ')
  22. if [username, password]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement