Write a program to find the hypotenuse H of a right-angled triangle of sides A and B.
output : 13
5
it should be : 5
output : 12
it should be 13.
A = float(input()) B = float(input()) C = (A*A + B*B)**0.5 print(C)
Need a fast expert's response?
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Comments
Leave a comment