import numpy as np
# 52. Consider a random vector with shape (100,2) representing coordinates, find point by point distances (★★☆)
# Z = np.random.rand(100,2)
# np.set_printoptions(threshold=np.inf)
# X,Y = np.atleast_2d(Z[:,0], Z[:,1])
# D = np.sqrt( (X-X.T)**2 + (Y-Y.T)**2)
# print((X-X.T)**2)