3
azfar
9y

Python can be a bit weird when it comes to the scope of variables. I once spent a weekend banging my head over an issue in the code, only to figure out on the following Monday that I hadn't passed a variable to the function, and it was picking up that variable and a different value of it from somewhere else... WHERE AND HOW

Comments
Add Comment