r/PythonLearning • • 2d ago

Python Mutability: tuple vs list

Post image

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.

26 Upvotes

4 comments sorted by

2

u/Potential_Fix_5007 2d ago

C

0

u/Sea-Ad7805 2d ago

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

1

u/vlad-python 1d ago

D

1

u/Sea-Ad7805 1d ago

Incorrect sorry, see the Solution link for visualization of correct answer.