Advertisement
Guest User

Untitled

a guest
Apr 26th, 2016
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.24 KB | None | 0 0
  1. while True:
  2.     print('What is your username?')
  3.     username=input()
  4.     if username != 'rats':
  5.         continue
  6.     print('What is your password?')
  7.     password=input()
  8.     if password == 'potatoes':
  9.         break
  10. print('Access granted.')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement