To write a python program to find the distance two 2 points
Assume the keyword for the program
Assign the value of the frist variable
Assign the value of the second variable
Substitute the values in the distance formula
print distance d
### PROGRAM:
#Program to find the distance between two points.
#Developed by: anbuselvam
#RegisterNumber:22009081
import math
x1,x2,y1,y2=10,4,6,2
dist=math.sqrt((x2-x1)**2+(y2-y1)**2)
print("{:.2f}".format(dist))
Thus the distance beetween two points are successfully executed