To write a python program to find the distance two 2 points
Get the coordinates from the user.
Substitute the values in the distance formula
Print the result(Distance between the points).
End of the program.
import math
d2=[10,6]
d1=[4,2]
d=math.sqrt((d2[0]-d1[0])**2+(d2[1]-d1[1])**2)
print(format(d,".2f"))
,,
Program finished successfully.