Back Navigation Next Navigation Video 8: Functions (page 2 of 9)

We can divide Python functions into the following two types:

1) Built-in functions - Functions that are built into Python. Examples of these include max(), min(), input(), print(), type(), map(), & filter().

2) User-defined functions - Functions defined by the programmers themselves.

There are two parts to user-defined functions in Python. We first have to define the function and then we have to call the function. Just defining the function does not actually execute the code within the function. We have to call the function to execute the code within the function.