作业
def createCounter(): x = 0 def counter(): nonlocal x x = x + 1 return x return counter
Sign in to make a reply
可爱聪明而又帅气的人
作业
def createCounter(): x = 0 def counter(): nonlocal x x = x + 1 return x return counter