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: exception() elif choice == 14: try: a = float(input("Enter a number to find its Tan in Degrees: ")) cal.tandeg(a) time.sleep(2) menu() except: exception() elif choice == 15: try: a = float(input("Enter a number to find its Cosecant in Degrees: "))
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) elif choice == 15: n = float(input("Enter a number to find its cosec in degrees:")) cal.cosecdeg(n) elif choice == 16: n = float(input("Enter a number to find its sec in degrees:")) cal.secdeg(n) elif choice == 17: n = float(input("Enter a number to find its cot in degrees:")) cal.cotdeg(n) elif choice == 18: n = float(input("Enter a number to find its natural logs:")) cal.ln(n)