What is the pythonic way to avoid shadowing variables?
The fact that the local variable (and function parameter) age happens to have the same name as a variable somewhere else in your program is irrelevant. The whole point of local variables is that they only live within the local scope of the function they’re defined in. The fact that the local variable has the … Read more