time.sleep(2) menu() except: exception() elif choice == 8: try: a = float(input("Enter a number to find its Cosecant in Radians: ")) cal.cosecrad(a) time.sleep(2) menu() except: exception() elif choice == 9: try: 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:
cal.div(n1, n2) if choice == 5: n = float(input("Enter a number to find its sine in radians:")) cal.sinrad(n) if choice == 6: n = float(input("Enter a number to find its cos in radians:")) cal.cosrad(n) if choice == 7: n = float(input("Enter a number to find its tan in radians:")) cal.tanrad(n) if choice == 8: n = float(input("Enter a number to find its cosec in radians:")) cal.sinerad(n) if choice == 9: n = float(input("Enter a number to find its sec in radians:")) cal.secrad(n) if choice == 10: n = float(input("Enter a number to find its cot in radians:")) cal.sinrad(n) if choice == 11: cal.pie() elif choice == 12: n = float(input("Enter a number to find its sine in degrees:")) cal.sindeg(n) elif choice == 13: n = float(input("Enter a number to find its cossine in degrees:")) cal.cosdeg(n) elif choice == 14: n = float(input("Enter a number to find its tan in degrees:")) cal.tandeg(n)