To write a python program to find the distance two 2 points
import maths
type the values of the given matrix
use math.sqrt for to get the distance between two points
Substitute the values in the distance formula
use print function and run the program
#Program to find the distance between two points.
#Developed by: karthick.P
#RegisterNumber:22000995
import math
l1=[4,2]
l2=[10,6]
distance=math.sqrt(((l2[0]-l1[0])**2)+((l2[1]-l1[1])**2))
print("{:.2f}".format(distance))
the above program is verified and created successfully.