Programming
Python Is Neither Call by Value Nor Call by Reference
It’s call-by-sharing.
Published in
4 min readJan 30, 2024
In Python, the concept of “call by value” or “call by reference” doesn’t exactly apply as it does in languages like C or C++.
This is the root of much, if not all, confusion.