0

When does python limit access to a global variable?

29th Mar 2017, 2:50 AM
Mahalakshmi Teki
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.
29th Mar 2017, 3:45 AM
Tamoghna Saha