Python function global variables?
If you want to simply access a global variable you just use its name. However to change its value you need to use the global keyword. E.g. global someVar someVar = 55 This would change the value of the global variable to 55. Otherwise it would just assign 55 to a local variable. The order … Read more