Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from math import sqrt
- sidea=float(input("length of sidea is :"))
- sideb=float(input("length of sideb is :"))
- hypotenuse=sqrt((sidea**2)+(sideb**2))
- print("length of hypotenuse is:", hypotenuse)
Add Comment
Please, Sign In to add comment