Advertisement
Guest User

Untitled

a guest
Apr 20th, 2019
158
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.  
  8. print("log in")
  9. username1 = input()
  10. password1 = input()
  11.  
  12. if username1 == username and password1 == password:
  13.     print("Successfully logged in")
  14. elif username1 == username and not password1 == password:
  15.     print("Username correct but password is incorrect")
  16. elif password1 == password and not username1 == username:
  17.     print("Password correct but username is incorrect")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement