def createCounter(): count= 0 def counter(): nonlocal count count+=1 return count return counter
Sign in to make a reply
谁能谈笑风声00
def createCounter(): count= 0 def counter(): nonlocal count count+=1 return count return counter