Back to lesson
1. What is a function?
A way to do math.
A little program inside your main program.
A block of code.
2. Does a function run automatically?
No, it only runs if you specifically call it from within your main program.
3. How do we pass things into a function from the outside?
In the code itself.
By adding parameters when we call the function.
Back to the top
© 2017 GoSkills Ltd.
Skills for career advancement