# A program that checks whether a sequence of numbers # a, b, and c input by the user satisfy the equation # a^2 + b^2 = c^2 a = eval(input("Enter the shortest side: ")) b = eval(input("Enter the next shortest: ")) c = eval(input("Enter the longest side: ")) if (a**2 + b**2) == c**2: print("Right triangle") # a^2 + b^2 == c^2 else: print("Oblique triangle") #a^2 + b^2 != c^2