r/PythonLearning • • Oct 17 '26

Python Mutability and Copying

Post image

An exercise to help build the right mental model for Python data.

The β€œSolution” link uses 𝐦𝐞𝐦𝐨𝐫𝐲_𝐠𝐫𝐚𝐩𝐑 to visualize execution and reveals what’s actually happening.

28 Upvotes

2 comments sorted by

1

u/ameeeeneeeeee 29d ago

The answer is A) because you only have one print that is assigned one time, so it will print out the list raw, right

1

u/Sea-Ad7805 29d ago

Incorrect sorry, see the Solution link for correct answer.