Created
November 13, 2019 15:04
-
-
Save master-stm/5a6fca1c1192258dea4f94b2de552c54 to your computer and use it in GitHub Desktop.
a quick python code to check username and password
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| username = "master stm" | |
| password = "leader.3" | |
| user_input = input("enter username: ") | |
| if user_input == username : | |
| user_password = input("enter password: ") | |
| if user_password == password : | |
| print(f"Welcome Back {username}") | |
| else: | |
| print("password is not recognized") | |
| else: | |
| print("username is not recognized") | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment