In MATLAB, I can create an array and assign values to it dynamically without mentioning the size of the array while its creation. I'm new to MATLAB, the following show how I create an array and assign values to it in MATLAB.
>> a=[]
a =
[]
>> a(2,2) = 55
a =
0 0
0 55
We can write a function in Python to do this but I want to know that is there any equivalent procedure to MATLAB functionality of assigning values to array dynamically in Python or in Numpy?