题目:练习函数调用。
程序分析:无。
#!/usr/bin/python
# -*- coding: UTF-8 -*-
def hello_world():
print('hello world')
def three_hellos():
for i in range(3):
hello_world()
if __name__ == '__main__':
three_hellos()
更多推荐
菜鸟教程 练习实例34 (python3)
发布评论