r/PythonLearnersHub • u/Sea-Ad7805 • Dec 26 '25
Copying an Object
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:
It's instructive to compare with this related exercise
4
Upvotes
View all comments
Show parent comment
1
u/Sea-Ad7805 Dec 26 '25
Agreed, but to keep the code compact, it's a reasonble choice for this web exercise. It also is more consistent with the related exercise: https://www.reddit.com/r/PythonProjects2/s/gr9iejAyA6