What is a function?
Functions are named blocks of code that are designed to do a specific job. If you need to perform that task multiple times throughout your program, you just call the function dedicated to handling that task.
Concept: Introduction to Python Functions
Is there an error in this question or solution?