To write a python program to find the distance two 2 points
import math
get the values from the user.
Substitute the values in the distance formula
print the result
import math
x1,x2,y1,y2=10,4,6,2
dist=math.sqrt((x2-x1)**2+(y2-y1)**2)
print("{:.2f}".format(dist))
Thus the python program to find the distance between 2 points was successfully executed