Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- data_bank = {"Jonathan" : "0213", "Ross": 'AsiansRS3xy'}
- 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'
- else:
- print 'Access Denied'
- else:
- print 'User does not exist'
Add Comment
Please, Sign In to add comment