0Pricing
Coding for Kids · Lesson

What Is a Variable?

A variable remembers a value for you.

Magic Memory Box! 📦

A variable is like a magic memory box! 📦

You put something inside it, and the computer remembers it for you. So helpful! 🧠

Putting Something Inside 🎁

To fill a box, we give it a name and put a value inside using =.

Like: age = 8. Now the box named age holds 8! 🎈

age = 8
print(age)

All lessons in this course

  1. What Is a Variable?
  2. Naming Your Variables
  3. Changing a Value
  4. Using Variables Together
← Back to Coding for Kids