Euclidean distance - It is the length of a line segment between the two points. - The distance between two objects that are not points is usually defined to be the smallest distance among pairs of points from the two objects. - Smaller, Closer. In three dimensions, for points given by their Cartesian coordinates, the distance is Reference : en.wikipedia.org/wiki/Euclidean_distance def distance(x..