sh_07_函数的嵌套调用

sh_07_函数的嵌套调用

def test1():

    print("*" * 50)


def test2():

    print("-" * 50)

    # 函数的嵌套调用
    test1()

    print("+" * 50)

test2()

猜你喜欢

转载自www.cnblogs.com/shaohan/p/11519312.html