To write a python program to find the distance two points
Import the math module to use the built-in functions for calculation
Get the list of values from the user as input
Use built-in function math.sqrt() for calculating the distance between two points
Substitute the values in the distance formula
Display the output
#Program to find the distance between two points.
#Developed by: JENISHA.J
#RegisterNumber: 22002972
import math
l1=[4,2]
l2=[10,6]
d=math.sqrt((l2[0]-l1[0])**2+(l2[1]-l1[1])**2)
print("{:.2f}".format(d))
Thus the distance between two points is successfully found by using python program.