SHARE
TWEET

Untitled

a guest Aug 21st, 2019 65 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import math
  2.  
  3. cateto1 =  input("Digite o valor do primeiro cateto :")
  4. cateto2 =  input("Digite o valor do segundo cateto :")
  5.  
  6. hipotenusa = math.sqrt(((float(cateto1)*float(cateto1))+(float(cateto2)*float(cateto2))))
  7.  
  8. print("A hipotenusa e :" + str(hipotenusa))
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