# 练习函数调用 def hello_world(): print("hello world") def three_hello_world(): for i in range(3): hello_world() if __name__ == ‘__main__‘: three_hello_world()
调试并输出:
Python3 练习笔记四
原文:https://www.cnblogs.com/RHadoop-Hive/p/10383761.html