首页 > 编程语言 > 详细

Python3 练习笔记四

时间:2019-02-15 15:15:23      阅读:262      评论:0      收藏:0      [点我收藏+]
# 练习函数调用
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

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!