Advertisement
Guest User

Untitled

a guest
Apr 20th, 2019
165
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.51 KB | None | 0 0
  1. print("Sign up")
  2. # user will enter custom usermame and pass        
  3.  
  4. username = input("Username:")
  5. password = input("Password":)
  6.  
  7. print("log in")
  8. username1 = input()
  9. password1 = input()
  10.  
  11. if username1 == username and password1 == password:
  12.     print("Successfully logged in")
  13. elif username1 == username and not password1 == password:
  14.     print("Username correct but password is incorrect")
  15. elif password1 == password and not username1 == username:
  16.     print("Password correct but username is incorrect")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement