-
-
Save amankharwal/948d716594957e8c1755a11a77987257 to your computer and use it in GitHub Desktop.
This file contains 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
import getpass | |
database = {"aman.kharwal": "123456", "kharwal.aman": "654321"} | |
username = input("Enter Your Username : ") | |
password = getpass.getpass("Enter Your Password : ") | |
for i in database.keys(): | |
if username == i: | |
while password != database.get(i): | |
password = getpass.getpass("Enter Your Password Again : ") | |
break | |
print("Verified") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment