1 2 3 4 5 6
#!/usr/bin/python base = float(input("base: ")) height = float(input("height: ")) hyp = ((base ** 2) + (height ** 2)) ** 0.5 print(hyp)