📜  在 python 中定义一个不带参数的函数 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:24.260000             🧑  作者: Mango

代码示例1
def hello_function():
...     print 'Hello World, it\'s me.  Function.'
...

>>> hello_function()
Hello World, it's me.  Function.