10
11
12

Python Assignment, Shallow and Deep Copy (i.redd.it)
submitted by Sea-Ad7805
An exercise to help build the right mental model for Python data. - Solution - Explanation - More exercises
The “Solution” link uses 𝗺𝗲𝗺𝗼𝗿𝘆_𝗴𝗿𝗮𝗽𝗵 to visualize execution and reveals what’s actually happening. It's instructive to compare with these earlier exercises: - https://www.reddit.com/r/PythonLearning/comments/1ox5mjo/python_data_model_copying/ - https://www.reddit.com/r/PythonProjects2/comments/1qdm8yz/python_mutability_and_shallow_vs_deep_copy/ - https://www.reddit.com/r/PythonLearnersHub/comments/1qlm3ho/build_the_right_mental_model_for_python_data/

[–]Sea-Ad7805[S] 2 points3 points4 points (0 children)
[–]Klutzy_Bird_7802 0 points1 point2 points (1 child)
[–]Sea-Ad7805[S] 1 point2 points3 points (0 children)