Compute Hypotenuse
Write a Python program of Compute Hypotenuse. It consists of two test cases
The below link contains Compute Hypotenuse - Question, explanation and test cases
https://drive.google.com/file/d/1DsHiww7KUZhE-FrD_NxDBreZUlkhCmBL/view?usp=sharing
We need all test caese can be come while code was running
import math
A=int(input())
B=int(input())
C=int(math.sqrt(A*A+B*B))
print(C)
Comments
Leave a comment