import numpy as np num_of_points = 20 random_array = np.random.random((num_of_points)) print( random_array )
Just PressRun.