pythonreference.com

search statements, functions, methods, exceptions*

show categories

define a function with keyword arguments
def mul(a, b=1):
    return a * b