bagaimana menemukan jarak yang tepat

import math

x1 = int(input("what is x1: "))
y1 = int(input("what is y1: "))
x2 = int(input("what is x2: "))
y2 = int(input("what is y2: "))

eq = (((x1-x2)**2)+((y1-y2)**2))**(1/2)

eqn = eq**2
print("the answer is the square root of",eqn ,"which is", eq)
A_Person