how to have at init a numpy array python code example Example: numpy init array a=[] for i in range(8): a.append(i)