Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- data_bank = {"Jonathan" : "0213", "Ross": 'AsiansRS3xy'}
- end = False
- while (end == False):
- print 'Please print your username and password'
- username = raw_input('Username:')
- password = raw_input('Password:')
- if username in data_bank:
- if password == data_bank[username]:
- print 'ACCESS GRANTED'
- end = True
- else:
- print 'ACCESS DENIED'
- elif username == "Grandmaster Champion" and password == "Iamgod":
- print "Welcome Grandmaster Champion, please enter your new login information"
- new_username = raw_input('New Username:')
- new_password = raw_input('New Password:')
- data_bank[new_username] = new_password
- print "Your new information has been saved"
- elif username == "Destroyer of Worlds" and password == "Bomb":
- print 'Welcome J. Robert Oppenheimer, select the username you would like to destroy'
- old_username = raw_input("Username you would like to remove:")
- if old_username in data_bank:
- del data_bank[old_username]
- else:
- print 'User does not exist'
- print 'User has been destroyed, LET NO EVIDENCE ESCAPE'
- else:
- print 'User does not exist'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement