I need a python equivalent of this below statement in C:
int a[x];
But, In the case of python, I can declare an array like this:
a=[]
furthermore, the issue is I need to allot random slot with values like:
a[4]=1
however, I can't do it with python, since the array is unfilled.