Paste Search Dynamic
measurement of the Hypotenuse
  1. # your code goes here
  2. import math
  3. Opposite=int(input("Enter the measurement of the opposite side of the triangle"))
  4. Adjacent=int(input("Enter the measurement of the adjacent side of the triangle"))
  5. H=Opposite**2 + Adjacent**2
  6. Hypotenuse=math.sqrt(H)
  7. print ("The measurement of the Hypotenuse of the triangle is",H)
Parsed in 0.008 seconds