Fun with Functions
Fun with Functions
What is a function?
A function is a way to represent a list of steps with a single term.
These are short pieces of code that condense long series of commands (called statements), into a single term.
By declaring a function at the beginning of a program, you can simply call, or execute, the function by writing its name when you need it.
Congratulations, you have received the Fun with Functions badge!