XJTU_Python/test/1/3.py

5 lines
95 B
Python

from math import *
a, b = map(float, input().split())
print("{:.2f}".format(sqrt(a**2+b**2)))