LearnPy Hub
← Operators problems
Medium

Hypotenuse

Read the two shorter sides of a right triangle and print the hypotenuse √(a² + b²) with 2 decimals. Use ** 0.5 for the square root.

Input

Two numbers.

Output

Hypotenuse with 2 decimals.

Sample 1

Input
3
4
Output
5.00

Sample 2

Input
1
1
Output
1.41
solution.py
Output appears here
Hypotenuse · Python practice problem · LearnPy Hub