0
When does python limit access to a global variable?
1 Resposta
+ 2
Your question is not clear to me but as far as I am understanding, I am trying to answer it.
Global var are accessible inside and outside of function but Local var are only accessible inside the function. So if you are setting a var with the same name as global var, then you are making that var a local one.