[Solved] Warning on Python global variable declaration
Your code fragment doesn’t make a lot of sense without more context. To get a better understanding of the keyword look at this: Use of “global” keyword in Python As for your code it makes the variable only available in a global scope after it errors which is unusual. As the warning indicates you would/should … Read more