daily pastebin goal
35%
SHARE
TWEET

Untitled

a guest Jul 20th, 2017 21 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. data_bank = {"Jonathan" : "0213", "Ross": 'AsiansRS3xy'}
  2. print 'Please print your username and password'
  3.  
  4. username = raw_input('Username:')
  5. password = raw_input('Password:')
  6.  
  7. if username in data_bank:
  8.     if password == data_bank[username]:
  9.         print 'Access Granted'
  10.     else:
  11.         print 'Access Denied'
  12. else:
  13.     print 'User does not exist'
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top