Advertisement
Guest User

newfile.py

a guest
Jan 14th, 2018
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.52 KB | None | 0 0
  1. print ('Admin Login Page')
  2.  
  3. name = input('Enter Name Of Admin: ')
  4. if name == 'Gideon':
  5.     print ('Hi Gideon')
  6.     while name != 'Gideon':
  7.         input('Enter a Valid Name of User: ')
  8. pin = input('Enter Your Password: ')
  9. if pin == 'Gee':
  10.         print('Welcome Sir!')
  11. elif name == ('James', 'Peace', 'Dorcas', 'Samuel', 'Dominic', 'Victoria'):
  12.     print ('You Are Not Admin...')
  13.     print ('Welcome To Member Login Page')
  14.     nam =  input('Enter Member Name: ')
  15.     if nam == ('James', 'Peace', 'Dorcas', 'Samuel', 'Dominic', 'Victoria'):
  16.         print ('Hi ' + nam)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement