Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- username = input("Insert Username")
- password = input("Insert Password")
- correctpassword = "123123"
- correctusername = "chicken"
- isUsernameTrue = False
- isPasswordTrue = False
- hiddenpassword = "*" * len(correctpassword)
- if username == correctusername:
- isUsernameTrue = True
- else:
- isUsernameTrue = False
- if password == correctpassword:
- isPasswordTrue = True
- else:
- isPasswordTrue = False
- if isUsernameTrue and isPasswordTrue == True:
- print("Access Granted")
- else:
- print("Access Denied")
- optionselection = input("Type in the option you would like to access respectively : DATA, ACCOUNT SETTINGS")
- if optionselection == "ACCOUNT SETTINGS":
- print("Current Username" , correctusername)
- print("Current Password : " , hiddenpassword)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement