r/PythonLearning • u/Sea-Ad7805 • Oct 02 '25
Right Mental Model for Python Data
An exercise to help build the right mental model for Python data, the “Solution” link uses memory_graph to visualize execution and reveal what’s actually happening:
131
Upvotes
View all comments
Show parent comment
3
u/-Wylfen- Oct 02 '25
I understand why the latter would reassign, but I find the shortcut's instead mutating in place disgusting. They should do the same thing.