Functions

User-defined functions make Python incredibly powerful, allowing you to control the design and functionality of your code. We’ll introduce functions in this chapter and discuss how to write your own functions when programming. We’ll also delve into discussing what the errors you see when writing code actually mean and discuss strategies of how to deal with them.