Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.
A function is a reusable block of code that’s given a name. Functions should accomplish one programming task, and do that task very well. They allow us to keep our code clean and DRY - dry meaning "Don’t Repeat Yourself".
Functions are notated by the keyword def, the name of the function, a set of parentheses, and then a colon. After...
I forgot my password