pythonreference.com

search statements, functions, methods, exceptions*

show categories

define a function with arguments and no return value
def greet(name):
    print('hi ' + name)