Discuss / Python / 习题打卡

习题打卡

Topic source

def createCounter():

    i=0

    def counter():

        nonlocal i

        i=i+1

        return i

    return counter


  • 1

Reply