#定义了一个无参无返回值的函数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()
python 最简单的函数(无参无返回值)
原文:https://www.cnblogs.com/pygo/p/12243029.html