Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import time
- complete = False
- user = [["username",""],["password",""]]
- def Access():
- for n in range (len(user)):
- user[n][1] = input(user[n][0])
- while not complete:
- Access()
- username = input("What is the username?")
- password = input("What is the password?")
- if username == user[n][0]:
- print("Good!")
- else:
- print("Input username again!")
- if password == user[n][1]:
- print("User has been identified, Welcome",username)
- else:
- print("Input password again")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement