# Write a NumPy program to create a Cartesian product of two arrays into single array of 2D points.  
 import numpy as np
x = np.array([1,2,3])
y = np.array([4,5])
result = np.transpose([np.tile(x, len(y)), np.repeat(y, len(x))])
print(result)
