get distance between 2 multidimentional point in python

>>> from scipy.spatial import distance
>>> distance.euclidean([1, 0, 0], [0, 1, 0])
1.4142135623730951
>>> distance.euclidean([1, 1, 0], [0, 1, 0])
1.0

Here is what the above code is Doing:
1. Importing the distance module from the scipy.spatial library.
2. Calculating the Euclidean distance between two points.
3. Calculating the Euclidean distance between two points.

The first calculation is between the points (1, 0, 0) and (0, 1, 0). The second calculation is between the points (1, 1, 0) and (0, 1, 0).

The output for the first calculation is 1.4142135623730951. The output for the second calculation is 1.0.

The Euclidean distance between two points is the length of the straight line between those points.