def createCounter(): num=(x for x in range(1,1000,1)) def counter(): return next(num) return counter
Sign in to make a reply
Phioton