It should not be so hard. I mean in C,
int a[10];
is all you need. How to create an array of all zeros for a random size. I know the zero
import numpy as np new_array=np.linspace(0,10,11).astype('int')
An alternative for casting the type when the array is made.