4 ms·
Since there isn't any traversal when looking up an element n, I guess the best "short hand" would be to call it an array - it's an array of pointers to objects
by e12e 7y ago
Since there isn't any traversal when looking up an element n, I guess the best "short hand" would be to call it an array - it's an array of pointers to objects on the heap.
https://www.laurentluce.com/posts/python-list-implementation/ https://www.laurentluce.com/posts/python-list-implementation...
As for collections within collections, python allows for that in "lists" (arrays) and "dictionaries" (maps).