def createCounter():
i=0
def counter():
nonlocal i
i+=1
return i
return counter
Sign in to make a reply
你是微笑
def createCounter():
i=0
def counter():
nonlocal i
i+=1
return i
return counter