# 内部函数


def func():
    # 声明变量
    n = 100  # 局部变量
    list1 = [6, 5, 1, 2, 3, 4]

    # 内部函数
    def inner_func():
        for index, i in enumerate(list1):
            list1[index] = i + 5
            print(list1)
            list1.sort()

    return inner_func


f = func()
f()

f74caecb943d1507d4c41a3c021a728737e98039
<mask token>

def func():
    n = 100
    list1 = [6, 5, 1, 2, 3, 4]

    def inner_func():
        for index, i in enumerate(list1):
            list1[index] = i + 5
            print(list1)
            list1.sort()
    return inner_func


<mask token>

def func():
    n = 100
    list1 = [6, 5, 1, 2, 3, 4]

    def inner_func():
        for index, i in enumerate(list1):
            list1[index] = i + 5
            print(list1)
            list1.sort()
    return inner_func


<mask token>
f()

def func():
    n = 100
    list1 = [6, 5, 1, 2, 3, 4]

    def inner_func():
        for index, i in enumerate(list1):
            list1[index] = i + 5
            print(list1)
            list1.sort()
    return inner_func


f = func()
f()

# 内部函数


def func():
    # 声明变量
    n = 100  # 局部变量
    list1 = [6, 5, 1, 2, 3, 4]

    # 内部函数
    def inner_func():
        for index, i in enumerate(list1):
            list1[index] = i + 5
            print(list1)
            list1.sort()

    return inner_func


f = func()
f()
