Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- users = {'sahadi' : 'asdasd', 'rcafaro' : 'mmafighter'}
- #while True:
- user_name = input("please give me your name") # ask for username
- given_password : input("please type your password") # ask for password
- if users[user_name] == given_password: # check if username and password match
- print("Correct")
- else:
- print("not correct")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement