To write a python program to find the distance two 2 points
Get the values from the user
Assign the value of variable to a temporary variable
Substitute the values in the distance formula
Using the slicing concept rotate the list
Print both the values it would be interchanged
#Program to find the distance between two points.
#Developed by: JANANI S
#RegisterNumber:23013409
x1=4
x2=10s
y1=2
y2=6
d=(((x2-x1)**2)+((y2-y1)**2))**0.5
out=round(d,2)
print(out)
The output for distance between two points is successfull.