# 练习函数调用def hello_world(): print("hello world")def three_hello_world(): for i in range(3): hello_world()if __name__ == '__main__': three_hello_world()
调试并输出:
本文共 230 字,大约阅读时间需要 1 分钟。
# 练习函数调用def hello_world(): print("hello world")def three_hello_world(): for i in range(3): hello_world()if __name__ == '__main__': three_hello_world()
调试并输出:
转载于:https://www.cnblogs.com/RHadoop-Hive/p/10383761.html