Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- x = int(input("Informe um dos catetos: "))
- y = int(input("Informe o outro cateto: "))
- hip = (pow(x, 2) + pow(y, 2))
- hip = float(pow(hip, 0.5))
- print("A hipotenusa é igual a:", hip)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement