# Compute and prints two hypotenuse lengths # using a function with return values. import math # Returns the length of the hypotenuse c of a # right triangle with given side lengths a and b. def hypotenuse(a, b): c = math.sqrt(a ** 2 + b ** 2) return c def main(): print("hypotenuse 1 =", hypotenuse(5, 12)) print("hypotenuse 2 =", hypotenuse(3, 4)) main()