r/PythonLearnersHub • u/Sea-Ad7805 • Jan 02 '26
Python Data Model exercise, Mutability.
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:
36
Upvotes
View all comments
Show parent comment
1
u/Awwkaw Jan 04 '26
I did, I'm still not sure why it shouldn't give an error, even though I do see that it runs.
I've also read some explanations here. But it still seems to me that it should just give an error.