Learn how to define and use your functions in Python. A function is a reusable bit of code that can execute a specific functionality any time it is called within a program.