To write a python program to find the distance two 2 points
Import the math module to use the built-in functions for calculation.
Get the 2 points from the user.
Substitute the values in the distance formula
Print the distance.
End the program
//name:tom francies xaviour l
//reg no:212223110060
import math
x_2=4
x_1=10
y_1=6
y_2=2
d=(x_2-x_1)**2+(y_2-y_1)**2
e=math.sqrt(d)
print(f'{e:.2f}')
Hence,To write a python program to find the distance two 2 points