Writing functions: Syntax summary

Here is a template for writing Python functions:

def function-name( parameter-list ):
    ...
    ... function-body
    ...
    return expression
    ...
    return expression

And here are a couple of guidelines: