To write a python program to find the distance two 2 points
PC Anaconda - Python 3.7
Import the math module
Get the lists as input from the user
Substitute the values in the distance formula
Print the result
End the program
#Program to find the distance between two points.
#Developed by: Dharshini K
#RegisterNumber: 23004494
import math
list1=[4,2]
list2=[10,6]
distance=math.sqrt((list2[0]-list1[0])**2 + (list2[1]-list1[1])**2)
print("{:.2f}".format(distance))
Thus the distance between two points were found and successfully executed