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
There's also a gotcha with default parameters:
issues I had with the tool you linked
I tried to make a link to this code in this visual debugger, but a link is made broken and can't be used without urlencoding spaces (I guess). Also the tool doesn't produce visual output in DuckDuckGo browser on AndroidYou can just write your code and then press "Get URL" to get the link: https://memory-graph.com/#code=def+fun%28a+%3D+%5B%5D%29%3A%0A++++a+%2B%3D+%5B1%5D%0A++++return+a%0A%0Afun%28%29%0Aprint%28fun%28%29%29+%23+%5B1%2C+1%5D
DuckDuckGo problem, thanks for reporting.
Yeah, I wrote code and pressed get URL, but then I copied what was shown in the window
The clipboard content:
The window text:
The latter doesn't work, and I didn't think of checking the former
Thanks for reporting, should be fixed now.