def createCounter():
L = [0]
def counter():
L[0] += 1
return L[0]
return counter
Sign in to make a reply
用户0201478117
def createCounter():
L = [0]
def counter():
L[0] += 1
return L[0]
return counter