What are Functions?
A function is a named block of code that performs a specific task. You write it once and run it whenever you need it.
Parameters vs Arguments
Parameters and arguments are both function inputs, but they have different meanings:
Functions that Return
A function can return a value. You've been doing this for weeks already.
Functions using Functions
Functions can call another function! We also have already been doing this before:
Scope
A name's scope is the region of code where you can use it.
Practice (Easy)
1. Is Valid
Practice (Medium)
1. f of x