import random num_of_points = 20 random_array = [random.random() for x in range(num_of_points)] print( random_array )
Run