def createCounter(): fs = [0] def counter(): fs.append(fs[-1] + 1) return fs[-1] return counter
Sign in to make a reply
金葛城