Guest User

Untitled

a guest
Aug 21st, 2019
59
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. cateto1 = float(input("Primeiro cateto: "))
  3. cateto2 = float(input("Segundo cateto: "))
  4.  
  5. hip = ((cateto1 * cateto1) + (cateto2 * cateto2))**(1/2)
  6.  
  7. print("Hipotenusa: ", round(hip, 3))
RAW Paste Data