Quote:Why is that? They would be in C/C++.
Because Python is fully managed language, thing don't work the way they do in C/C++ which is basically non managed.
In C, an array is just a chunk of memory, YOU have to keep track of its size, and YOU are responsible to check if you go beyond its end.
In Python, an array is an object that keep track of its own size and check that you don't go beyond its end.
What you really need to know is that things work automatically in Python
, arrays are created and freed automatically, arrays are dynamically resized as needed, and you don't have to care about the internals, it is automatic.