Discuss / Python / 打卡第四天

打卡第四天

Topic source

def createCounter():

    i=[0]

    def counter():

        i[0]+=1

        return i[0]

    return counter


  • 1

Reply