Python's main container structures are immutable arrays (tuples) and mutable arrays (lists).
I don't know all the details of the implementation but they are both C arrays.
Lists: How are lists implemented? and this
Thank you for the discussion! :-)
I see. I learned a lot during the writing and discussion process :)
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.