Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print("Sign up")
- # user will enter custom usermame and pass
- username = input("Username: ")
- password = input("Password: ")
- while True:
- print("log in")
- username1 = input("username: ")
- password1 = input("password: ")
- if username1 == username and password1 == password:
- print("Successfully logged in")
- elif username1 == username and password1 != password:
- print("Username correct but password is incorrect")
- elif password1 == password and username1 != username:
- print("Password correct but username is incorrect")
- elif username1 != username and password1 != password:
- print("username and password incorrect")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement