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