Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- LOGIN = {'bob':'123',
- 'ann':'pass123',
- 'mike':'password123',
- 'liz': 'pass123'
- }
- count = 0
- while count < 2:
- user = input('USERNAME: ')
- password = input('PASSWORD: ')
- if user in LOGIN:
- print('Good')
- count = 2
- else:
- print('Denied')
- count = 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement