Exemple #1
0
         a = float(input("Enter a number to fnd its Secant in Radians: "))
         cal.secrad(a)
         time.sleep(2)
         menu()
     except:
         exception()
 elif choice == 10:
     try:
         a = float(input("Enter a number to find its Cot in Radians: "))
         cal.cotrad(a)
         time.sleep(2)
         menu()
     except:
         exception()
 elif choice == 11:
     cal._pi()
 elif choice == 12:
     try:
         a = float(input("Enter a number to find its Sine in Degrees: "))
         cal.sindeg(a)
         time.sleep(2)
         menu()
     except:
         exception()
 elif choice == 13:
     try:
         a = float(input("Enter a number to find its Cosine in Degrees: "))
         cal.cosdeg(a)
         time.sleep(2)
         menu()
     except: