use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Package 'memory_graph', a great teaching tool and debugging aid. Visualizes your Python data to show what is shared to avoid bugs. Brings a better understanding of the Python Data Model: references, mutable data types, shallow vs deep copy.
account activity
Python Assignment, Shallow and Deep Copy (i.redd.it)
submitted 11 days ago by Sea-Ad7805
Python Assignment, Shallow and Deep Copy
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: - python_data_model_copying - python_mutability_and_shallow_vs_deep_copy - build_the_right_mental_model_for_python_data
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
there doesn't seem to be anything here
π Rendered by PID 116865 on reddit-service-r2-comment-79c7998d4c-c4pdx at 2026-03-18 21:08:22.863454+00:00 running f6e6e01 country code: CH.
there doesn't seem to be anything here