What is a function?
A function is a block of code you give a name to so you can use it again. Calling its name runs the entire block of code.
How do you define functions?
To create a function, define it with the keyword def, followed by the function's name, a set of parentheses, and a colon at the end.
How do you call functions?
To call a function, use the function's name followed by a set of parentheses.