Advertisement
Guest User

PitagorasZ

a guest
Aug 21st, 2019
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.15 KB | None | 0 0
  1. x = float(input("Digite o valor de x:"))
  2. y = float(input("Digite o valor de y:"))
  3.  
  4. z = (x**2) + (y**2)
  5.  
  6. z =  z ** 0.5
  7.  
  8. print("Valor de z é:", z)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement