I have a problem with the python code. Indeed, I want to change the value of a global variable through a function like this:
myVar = True # default value
def myFunct():
myVar = False
The problem is with Python, you can't change the value of the global variable by a function. So anyone have a solutuion ?
Thank you.