def createCounter():
g=(i for i in range(1,1000))
def counter():
return next(g)
return counter
Sign in to make a reply
翅膀的痕迹-
def createCounter():
g=(i for i in range(1,1000))
def counter():
return next(g)
return counter