python 最简单的函数(无参无返回值)

时间:2020-01-30 17:05:54   收藏:0   阅读:334
#定义了一个无参无返回值的函数
def myPrint():
print("sunck is a very good man!")
print("sunck is a nice man!")
print("sunck is a handsome man!")

myPrint()
myPrint()
myPrint()
myPrint()
myPrint()

原文:https://www.cnblogs.com/pygo/p/12243029.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!