Discuss / Python / work 2333

work 2333

Topic source

Phioton

#1 Created at ... [Delete] [Delete and Lock User]
def createCounter():
    num=(x for x in range(1,1000,1))
    def counter():
        return next(num)
    return counter

  • 1

Reply