SHARE
TWEET

Untitled

a guest Jun 18th, 2019 107 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if Username =='Frobinson':
  2.     print('Please input password, the default password will be QWERTY')
  3.     Password=input()
  4.     if Password == 'QWERTY':
  5.  
  6. elif Username =='Jsmith':
  7.     print('Please input password, the default password will be QWERTY')
  8.     Password=input()
  9.     if Password == 'QWERTY':
  10.  
  11. elif Username =='Joe':
  12.     print('Please input password, the default password will be QWERTY')
  13.     Password=input()
  14.     if Password == 'QWERTY':
  15.  
  16.     def menu():
  17.         print('-----------------------------')
  18.         print('Options:')
  19.         print('A: See files')
  20.         optionselect=input()
  21.  
  22.         #new option#
  23.         if optionselect =='A':
  24.             print('Enter a name to see details')
  25.             name=input()
  26.         #new option#  
  27.  
  28.             #file copy#
  29.             if Username== 'Frobinson' or 'Jsmith':
  30.                 print('You do not have permissions for this file')
  31.                 menu()
  32.             if name== 'Fee_Robinson':
  33.                 print()
  34.                 print()
  35.                 print('Profile for Fee Robinson')
  36.                 print('-----------------------------')
  37.                 print('Name: Fee Robinson')
  38.                 print('Year: 11')
  39.                 print("(Type 'Back' to go back to menu)")
  40.                 Back=input()
  41.                 if Back=='Back':
  42.                     menu()
  43.                 elif Back=='back':
  44.                     menu()
  45.                 else:
  46.                     print("(Type 'Back' to go back to menu)")
  47.                 #file copy#                        
  48.  
  49.     menu()
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
 
Top