To write a python program to find the distance two 2 points
Substitute the values in the distance formula
#Program to find the distance between two points.
#Developed by: CHANDRAPRIYADHARSHINI.C
#RegisterNumber:23013526
import math
l1=[10,6]
l2=[4,2]
distance=math.sqrt(((l2[0]-l1[0])**2)+((l2[1]-l1[1])**2))
print("{:.2f}".format(distance))
Thus the Distance Between Two Points are executed successfully