0Pricing
Coding for Kids · Lesson

Using Variables Together

Combine variables in your program.

Using Variables Together is a free Coding for Kids lesson on CoddyKit — lesson 4 of 4. You can read the complete lesson below for free — then practise it hands-on in the browser with a built-in code editor and a 24/7 AI tutor. It is part of the Coding for Kids learning path, one of 4 lessons in the course, and your progress syncs across the web and the CoddyKit app.

Boxes Team Up! 🤝

The real fun begins when boxes work together!

You can use many boxes in one message. Teamwork! 🎉

name = "Leo"
age = 9
print(name)
print(age)

Print Two Boxes 📦📦

You can print two boxes, one after the other!

Each gets its own line. So organized! 📝

hero = "Bolt"
power = "speed"
print(hero)
print(power)

Boxes in One Line 🔗

You can even print two boxes on ONE line using a comma!

The comma adds a little space between them. ✨

first = "Sunny"
second = "Day"
print(first, second)

Make a Greeting 👋

Let us greet someone using a name box!

Mix words and a box together. So friendly! 😊

name = "Mia"
print("Hello,", name)

Words Plus Boxes 🎨

You can put words AND boxes in the same print!

Use commas to join them. Make a full sentence! 📜

pet = "Rex"
print("My pet is", pet)

Tell Your Age 🎂

Use a box to tell how old you are in a sentence!

Words plus a number box. Cool! 🎉

age = 8
print("I am", age, "years old")

Two Boxes Together 👫

Let us use a name box AND an age box in one sentence!

The more boxes, the more fun! 🌈

name = "Leo"
age = 9
print(name, "is", age)

Build a Sentence 🏗️

You can build a whole fun sentence with boxes and words!

Like building with blocks. 🧱

food = "tacos"
print("I love eating", food, "!")

Change and Combine 🔄

Change a box, then use it with another box!

So many possibilities! 🎲

mood = "happy"
name = "Sam"
print(name, "feels", mood)

Your Own Combo 🎮

Make two boxes and combine them in a fun message!

Be creative and silly! 🤪

animal = "frog"
sound = "ribbit"
print("The", animal, "says", sound)

Combo Champion! 🏆

You learned to use many boxes together! Your messages are powerful now!

Incredible work! 🌟

me = "a coder"
feel = "awesome"
print("I am", me, "and I feel", feel)

Quick Check ✅

Teamwork question! 🤝

Course Complete! 🎊

You learned to use variables together to build fun messages!

Next course: Counting and Calculating with math magic! 🧮

Frequently asked questions

Is the “Using Variables Together” lesson free?

Yes — the full text of “Using Variables Together” is free to read here on the web, and the Coding for Kids course includes 4 lessons in total. To practise it interactively (a built-in code editor and a 24/7 AI tutor) and unlock the rest of the Coding for Kids course, upgrade to CoddyKit PRO.

What will I learn in “Using Variables Together”?

Combine variables in your program. You practise Coding for Kids with hands-on code you run directly in the browser, and a 24/7 AI tutor answers your questions as you work through the lesson.

Do I need any experience to start Coding for Kids?

No prior experience is required. Coding for Kids on CoddyKit is structured for beginners through advanced learners; this is — lesson 4 of 4, so you can start here or from the beginning and move at your own pace.

How long does the “Using Variables Together” lesson take?

Most CoddyKit lessons take about 5–10 minutes. Each one is bite-sized and interactive, so you make steady progress and pick up exactly where you left off across the web and the app.

Can I write and run code in this Coding for Kids lesson?

Yes. Every Coding for Kids lesson includes a built-in code editor, so you write and run real code right in your browser and get instant AI feedback — no local setup required.

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