r/PythonLearning 1d ago

Python Mutability and Copying

Post image

An exercise to help build the right mental model for Python data. - Solution - Explanation - More Exercises

It's instructive to compare with this related exercise.

The “Solution” link uses memory_graph to visualize execution and reveals what’s actually happening.

11 Upvotes

3 comments sorted by

View all comments

2

u/Far_Client_6955 1d ago

im think the (C)

1

u/Sea-Ad7805 1d ago

Nice one, do check the Solution link for visualization of correct answer.