import math

x, y  = 1, 7
tx, ty = 10, 3

dx, dy = tx-x, ty-y

d = math.sqrt(dx**2 + dy**2)

print d