To write a python program to find the distance two 2 points
Import numpy package
Get the input values
Substitute the values in the distance formula
Substitute in the formula
End the rpogram
#Program to find the distance between two points.
#Developed by: Lavanya.M
#RegisterNumber: 22009026
import math
l1=[10,6]
l2=[4,2]
d= math.sqrt(((l1[0]-l2[0])**2)+((l2[1]-l1[1])**2))
print("{:.2f}".format (d))
Thus the distance between two points is found