I basically want a python equivalent of this in C:
int a[x];
but in python I declare an array like:
a = []
You can use numpy:
import numpy as np
Example from Empty Array:
np.empty([2, 2]) array([[ -9.74499359e+001, 6.69583040e-309], [ 2.13182611e-314, 3.06959433e-309]])