pythonreference.com

search statements, functions, methods, exceptions*

show categories

define a function with no arguments and no return values
def greet():
    print('hi!')