🦷 Fun with Functions! πŸš€

Functions help us **repeat tasks easily**. Let’s see how with brushing teeth! 😁

πŸ” What is a Function?

A function is like a **magic recipe** 🎩. Instead of saying all the steps **every time**, we put them **inside a function** and just **call it** when needed!

Imagine if you had to **explain how to brush your teeth** every day:

  • 1️⃣ Pick up the toothbrush
  • 2️⃣ Put toothpaste on it
  • 3️⃣ Brush up & down
  • 4️⃣ Rinse & smile! 😁

Instead of writing these steps every day, we **put them in a function** and just say: "Brush Teeth!"

πŸ’‘ Click to Run the Function!

We've written a function for brushing teeth. Just click the button! πŸͺ₯

Output:

                    

🦷 Brushing Teeth Steps

Watch as we brush our teeth step-by-step! πŸͺ₯

Toothbrush Step 1