def createCounter(): s = 0 def counter(): nonlocal s s += 1 return s
return counter
Sign in to make a reply
红孩儿体育
def createCounter(): s = 0 def counter(): nonlocal s s += 1 return s