Well on one hand, I guessed correctly. (I'm not super familiar with Python)
On the other hand, that solution site is not exactly mobile friendly.
Welcome to the Python community on the programming.dev Lemmy instance!
Past
November 2023
October 2023
July 2023
August 2023
September 2023
Well on one hand, I guessed correctly. (I'm not super familiar with Python)
On the other hand, that solution site is not exactly mobile friendly.
My guess
It’s C. And if that’s wrong, it has to be D. There is no way it’s A or B
C is incorrect,sorry. See the "Solution" link for the correct answer.
Why can't it just return the result but has to use the same names in both scopes, I hate it
It's a nice exercise and a cool visualization though
It's D