53
Python Mutability
(programming.dev)
Welcome to the Python community on the programming.dev Lemmy instance!
Past
November 2023
October 2023
July 2023
August 2023
September 2023
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?Looks like this whole post is an ad for someone's project. The links hardly have to do with the post.
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.