Guest User

Untitled

a guest
Jan 8th, 2018
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. password = ("Give password: ")
  2.  
  3. if password == 'ABC123':
  4. print("Both inputs are correct!")
  5.  
  6.  
  7. else:
  8. print("The password is incorrect.")
  9.  
  10. username = input("Please type username")
  11. password = input("Please type your password")
  12.  
  13. if username == 'John' and password == 'ABC123':
  14. print("Both inputs are correct!")
  15.  
  16. else:
  17. print("The username or login incorrect.")
Add Comment
Please, Sign In to add comment