Пример #1
0
 while(True):
     print('-'*50)
     Menu.RegMenu()
     ch = int(input('Enter Your Choice : '))
     if(ch == 1):
         try:
             reg.register()
         except ValueError:
             print('Please Enter Valid Input(Number)!!! ')
     elif(ch == 2):
         for i in range(0,3):
             try:
                 loginStatus = reg.login()
                 while(loginStatus == True):
                     print('-'*50)
                     Menu.StudMenu()
                     ch = int(input('Enter Your choice : '))
                     if(ch == 1):
                         try:
                             op.select()
                         except ValueError:
                             print('Please Enter Valid Input(Number)!!! ')
                     if(ch == 2):
                         try:
                             op.insert()
                         except ValueError:
                             print('Please Enter Valid Input(Number)!!! ')
                     if(ch == 3):
                         try:
                             op.update()
                         except ValueError: