Discuss / Python / 打卡

打卡

Topic source

Tim_Ho_

#1 Created at ... [Delete] [Delete and Lock User]
def createCounter():
    L = [0]
    def counter():
        L[0] += 1
        return L[0]
    return counter

  • 1

Reply