pythonreference.com

search statements, functions, methods, exceptions*

show categories

define a function with arguments and a return value
def addthese(a, b):
    c = a + b
    return c