time.sleep(2) menu() except: exception() elif choice == 16: try: a = float(input("Enter a number to find its Secant in Degrees: ")) cal.secdeg(a) time.sleep(2) menu() except: exception() elif choice == 17: try: a = float(input("Enter a number to find its Cot in Degrees: ")) cal.cotdeg(a) time.sleep(2) menu() except: exception() elif choice == 18: try: a = float(input("Enter a number to find its Natural Log: ")) cal.ln(a) time.sleep(2) menu() except: exception() elif choice == 19: try: a = float(input("Enter a number to find its Base 10 log: "))
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) elif choice == 19: n = float(input("Enter a number to find its Base 10 logs:")) cal.logten(n) elif choice == 20: n1 = float(input("Enter a base number:")) n2 = float(input("Enter a number to find it's log to the:")) cal.logbasex(n1, n2) elif choice == 21: n = float(input("Enter a number to find it's square: ")) cal.squareroot(n) elif choice == 22: