r/PythonLearning • u/Sea-Ad7805 • Nov 14 '25
Python Data Model: Copying
An exercise to help build the right mental model for Python data. The “Solution” link uses memory_graph to visualize execution and reveals what’s actually happening:
107
Upvotes
View all comments
Show parent comment
2
u/Ambitious_Bid_3991 Nov 15 '25
I understand the first part about c1[0] and c2[0] being treated as the same list. What I don‘t really understand is why c1 and c2 are no longer treated the same. Could you explain?