import math user = input("are you using sin") if user == 'yes': user_3 = input("which side is unknown") if user_3 == 'opposite': user_1 = int(input("what is the hypotenuse")) ang = float(input("what's your angle ?: ")) the_divided_num = float(180 / ang) x = math.sin(math.pi / the_divided_num) answer = (x * user_1) print(f"this is your missing side is {answer}") elif user_3 == 'hypotenuse': user_4 = int(input("what is the opposite ")) angle = float(input("what's your angle ?: ")) the_divided_num = float(180 / angle) x_1 = math.sin(math.pi / the_divided_num) answe = (x_1 / user_4) print(f"this is your missing side is {answe}")