Structure of a vector in python
A vector has a single dimension and is create with method such as numpy.array and numpylinspace. A n-dimension array would be a matrix created with methods such as zeros or numpy.random.uniform(...). You  dont have to use numpy to use vectors in python. You can simply use the basic array type.
In python you usually dont have to worry about memory allocation. A dynamic memory allocation means that elements can added or removed to the vector whereas in a static memory allocation, there would be a fixed number of elements in the vector.
How can I identify a vector in Python?
Like does it have a single dimension or is it n-dimensions, I got really confused when trying to understand this in NumPy.
Also, what's the difference between static memory allocation and a dynamic one in vectors?