Glossary · Phase 0 · Tools
Function
A named, reusable piece of code that takes inputs and gives back a result.
Learn it properly
Functions · Package steps into reusable, testable pieces with inputs and outputs. About 25 minutes.
Other terms from the same lesson
- argument: A value you hand to a function when you call it, like the number in round(3.7).
- return value: What a function hands back when it finishes.