To write a python program to find the distance two 2 points
Import the numpy module to use the built-in functions for calculation
Get the input for list 1 and 2
Substitute the values in the distance formula
Print the distance
End the program
#Program to find the distance between two points.
#Developed by: R.Vijay
#RegisterNumber:21500269
import numpy as np
l1=[10,6]
l2=[4,2]
distance=np.sqrt(((l2[0]-l1[0])**2)+((l2[1]-l1[1])**2))
print("{:.2f}".format(distance))
Thus the python program to find the distance two 2 points is succesfully executed.