How Passing by Object Reference Works in Python
If you've ever modified a variable inside a Python function and been surprised or confused by what happened to it outside the function, you're not alone. This tripped me up for a long time.
Coming fro
freecodecamp.org4 min read