To write a python program to find the distance two 2 points
Import the math module to use the built-in functions for calulations
Enter the coordinates of point one and two in the input
Substitute the values in the distance formula
Print the distance using the formula
End the program
#Program to find the distance between two points.
#Developed by: Kanishkar
#RegisterNumber: 22007816
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 program for calculating the distance between two points are succesfully executed.