def createCounter(): result = 0 def counter(): nonlocal result result += 1 return result return counter
Sign in to make a reply
Destiny_Raymond