def createCounter():
L=[0]
def counter():
L[0]=L[0]+1
return L[0]
return counter
Sign in to make a reply
master_Hang
def createCounter():
L=[0]
def counter():
L[0]=L[0]+1
return L[0]
return counter