Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- X, Y, Z = map(int, input().split())
- if(X**2 + Y**2) == Z**2:
- print(Z)
- elif(Y**2 + Z**2) == X**2:
- print(X)
- elif(X**2 + Z**2) == Y**2:
- print(Y)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement