Advertisement
Guest User

Untitled

a guest
May 14th, 2018
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. users = {'sahadi' : 'asdasd', 'rcafaro' : 'mmafighter'}
  2.  
  3.  
  4. #while True:
  5. user_name = input("please give me your name") # ask for username
  6. given_password : input("please type your password") # ask for password
  7.  
  8. if users[user_name] == given_password: # check if username and password match
  9. print("Correct")
  10. else:
  11. print("not correct")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement