Data structures contain pointers
Briefly

Lists in Python contain references to objects, not the objects themselves. Changing a value through one reference can affect all references to that object.
Python's data structures, like variables, point to objects. Multiple references can point to the same object, leading to unintended changes when modifying the object.
Read at Pythonmorsels
[
|
]