4 ms·
No, they are not. At "best" they are implemented "like" an array of pointers to the objects (scattered somewhere else in the memory) in the list. If you want an
by _ZeD_ 8y ago
No, they are not.
At "best" they are implemented "like" an array of pointers to the objects (scattered somewhere else in the memory) in the list.
If you want an array (in the "c-like" sense of it) you can look at the array module https://docs.python.org/3/library/array.html https://docs.python.org/3/library/array.html