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

#定义了一个无参无返回值的函数
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()

猜你喜欢

转载自www.cnblogs.com/pygo/p/12243029.html