SHARE
TWEET

Untitled

a guest Aug 21st, 2019 52 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
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top