53
Python Mutability (programming.dev)

See the Solution and Explanation.

you are viewing a single comment's thread
view the rest of the comments
[-] wewbull@feddit.uk 2 points 1 month ago

As I would expect. Does the result surprise people?

If so, rename the arguments to fun() to be r, s, t, and u. Just inside the function. Does the obvious two scopes now make it clearer?

[-] 5C5C5C@programming.dev 3 points 1 month ago

Looks like this whole post is an ad for someone's project. The links hardly have to do with the post.

[-] bterwijn@programming.dev 4 points 1 month ago* (last edited 1 month ago)

The "Solution" link gives the solution to the exercise, the "Explanation" link explains the Python data model concepts behind the exercise. If some parts are hard to understand let me know.

load more comments (1 replies)
load more comments (4 replies)
this post was submitted on 02 Sep 2025
53 points (94.9% liked)

Python

7508 readers
3 users here now

Welcome to the Python community on the programming.dev Lemmy instance!

📅 Events

PastNovember 2023

October 2023

July 2023

August 2023

September 2023

🐍 Python project:
💓 Python Community:
✨ Python Ecosystem:
🌌 Fediverse
Communities
Projects
Feeds

founded 2 years ago
MODERATORS