send some example
how we increment a global variable value som few functions
how we increment a global variable value som few functions
aGlobal = 12
def IncGlobal():
global aGlobal
aGlobal += 1
IncGlobal()
print aGlobal
global aGlobal
aGlobal = 12
def IncGlobal():
global aGlobal
aGlobal += 1
IncGlobal()
print aGlobal
Comment