📅  最后修改于: 2022-03-11 14:46:49.399000             🧑  作者: Mango
import math
x,y=input().split(),input().split()
x,y=[int(i) for i in x],[int(i) for i in y]
t,t1=abs(x[0]-y[0]),abs(x[1]-y[1])
print("%.2f" %math.sqrt(t*t+t1*t1))