daily pastebin goal
66%
SHARE
TWEET

Untitled

a guest May 14th, 2018 61 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
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top