demo_ref_math_dist.py:
# Import math Library import math # The first point of Euclidean space p = [3] # The second point of Euclidean space q = [1] ## Calculate the distance between point p and q print (math.dist(p, q))
C:\Users\My Name>python demo_math_dist.py
2.0