Advertisement
Guest User

Untitled

a guest
Aug 27th, 2017
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.83 KB | None | 0 0
  1. username = "mrleeman"
  2. password = "leeman"
  3. systemrun = True
  4. logged_in = False
  5.  
  6. while systemrun == True:
  7. user_username = input("username: ")
  8. user_password = input("password: ")
  9.  
  10. if user_username == username and user_password == password:
  11. print("Hello, welcome.")
  12. logged_in = True
  13. else:
  14. print("Your username or password is incorrect")
  15.  
  16. While logged in == True:
  17. print("1. Add a Student")
  18. print("2. Find a student")
  19. print("3. Log Out")
  20. print("4. Create a Report")
  21. print("5. Find a report")
  22.  
  23.  
  24. menu = (str(input()))
  25.  
  26. if menu == "1":
  27. print("Add a student: ")
  28. elif menu == "2":
  29. name = input("Please add the child's name here: ")
  30. found_flag = False
  31. with open(" ")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement