Python3 练习笔记四

# 练习函数调用
def hello_world():
    print("hello world")


def three_hello_world():
    for i in range(3):
        hello_world()


if __name__ == '__main__':
    three_hello_world()

调试并输出:

 

posted @ 2019-02-15 15:05  因为专注。所以专业  阅读(191)  评论(0编辑  收藏  举报