#Pythagorean theorem #pythag.py import math #sqrt() a = float(input("Enter the length of one side of a right triangle: ")) b = float(input("Enter the length of other side of that right triangle: ")) hypotenuse = math.sqrt(a**2 + b**2) print("Hypotenuse =", hypotenuse)