whow to declare a unkown size array in python code example Example: create array with unknown size in python a = np.array([]) for x in y: a = np.append(a, x)