A function is a named, reusable block of code, defined with def. It receives parameters and returns a value with return, otherwise None. Variables created in the function are local. Splitting a program into small functions makes it clearer and more testable.
Example
def aire(l, h):
return l * h