点击运行
#!/usr/bin/python #Function definition is here def printme( str ): "This prints a passed string into this function" print str return; #Now you can call printme function printme( str = "My string")
运行结果 :
正在执行...