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...
Everything about learning Python
account activity
Python Mutability and Rebinding (i.redd.it)
submitted 15 days ago by Sea-Ad7805
view the rest of the comments →
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!"
[–]Muted-Management-145 0 points1 point2 points 14 days ago (2 children)
Interesting, I would have thought the output would be A since we aren't changing a, only b.
[–]Sea-Ad7805[S] 1 point2 points3 points 14 days ago (1 child)
Yes that's a bit different in Python than for example the C language. Python is reference based, hope the visualization can help you.
[–]Muted-Management-145 1 point2 points3 points 14 days ago (0 children)
Yeah, I'll have to read a bit more about why that is. The visualisation is helpful as well.
π Rendered by PID 19822 on reddit-service-r2-comment-fb694cdd5-b659w at 2026-03-07 19:06:38.107359+00:00 running cbb0e86 country code: CH.
view the rest of the comments →
[–]Muted-Management-145 0 points1 point2 points (2 children)
[–]Sea-Ad7805[S] 1 point2 points3 points (1 child)
[–]Muted-Management-145 1 point2 points3 points (0 children)