array dinámica python numpy
#you can use the following package
#pip install dynarray
from dynarray import DynamicArray
array = DynamicArray()
for element in range(10):
array.append(element)
Real Raccoon