#Write a function hypotenuse that has two parameters, sides of right #triangles, and returns the length of hypotenuse using the following #formula: hypotenuse=sqrt(a^2+b^2), where a and b are other sides of right #triangle #Write a program that reads sides of THREE triangles, finds the length of #hypotenuse for each and the triangle with the longest hypotenuse. Use #function sqrt from math library. Don't forget to have import math #statement in your program. To use function from math library use #math.sqrt syntax #version 2 import math def hypotenuse(a,b): #a and b are formal parameters temp=math.pow(a,2)+math.pow(b,2) #temp=a**2+b**2 return math.sqrt(temp) def main(): a=int(input("enter a ")) b=int(input("enter b ")) counter=1 print("processing triangle #", counter) print("hypotenuse is", hypotenuse(a,b)) #a and b actual parameters a=int(input("enter a ")) b=int(input("enter b ")) counter=counter+1 print("processing triangle #", counter) print("hypotenuse is", hypotenuse(a,b)) ##a and b actual parameters a=int(input("enter a ")) b=int(input("enter b ")) counter=counter+1 print("processing triangle #", counter) print("hypotenuse is", hypotenuse(a,b)) ##a and b actual parameters main()