# 练习函数调用 def hello_world(): print("hello world") def three_hello_world(): for i in range(3): hello_world() if __name__ == '__main__': three_hello_world()
调试并输出: