← Back to Age 9
Age 9 β€’ Lesson 5 β€’ Functions

Treasure Map Function Lab

Build one reusable function, call it more than once, collect two gems, and reach the final treasure.

πŸ—ΊοΈ Treasure Map

⬜ Build a function
⬜ Call the function twice
⬜ Collect 2 gems
⬜ Reach the treasure
Build a function first. Then call it in the main program.
πŸ… Badge earned: Function Explorer!

πŸ§ͺ Function Builder

Function: a reusable group of commands. Build it one time, then call it many times.

myPathFunction()

🧩 Main Program

Winning idea: build a small pattern once, then reuse it.