Advertisement
Guest User

Untitled

a guest
Mar 28th, 2017
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.48 KB | None | 0 0
  1. # Add mentor.
  2. elif option == 2:
  3.     os.system("clear")
  4.  
  5.     name = InputGuard.get_string()
  6.     surname = InputGuard.get_string()
  7.     gender = InputGuard.get_gender()
  8.     birthday = InputGuard.get_date()
  9.     email = InputGuard.get_email()
  10.     login = InputGuard.get_basic_input()
  11.     password = InputGuard.get_basic_input()
  12.  
  13.     mentor_data = [name.title(), surname.title(), gender, birthday, email, login, password]
  14.     Mentor.add_mentor(mentor_data)
  15.     os.system("clear")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement