daily pastebin goal
12%
SHARE
TWEET

Untitled

a guest May 14th, 2018 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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")
RAW Paste Data
Top