Coding for Kids · Lesson

Rows of Emojis

Use loops.

Lesson 2 of 413 steps

Rows of Emojis is a free Coding for Kids lesson on CoddyKit. This is lesson 2 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, and your progress syncs across the web and the CoddyKit app. The Coding for Kids course includes 4 lessons in total.

Loops Are Magic 🔁

A loop lets us repeat something many times without typing it again and again! 🤩

Let's make rows of emojis super fast.

Counting With range 🔢

range(5) counts 0, 1, 2, 3, 4 — that's 5 times!

A for loop uses range to repeat.

for i in range(5):
    print('🐠')

A Column of Fish 🐟

The loop above printed a fish on each line. That's a column going down! ⬇️

for i in range(4):
    print('🐟')

A Row Across ➡️

To make a row going across, repeat with * on one line!

print('🌸' * 6)

Rows With a Loop 🌼

Mix a loop with * to print many rows!

for i in range(3):
    print('🌼' * 5)

Change the Number 🔧

Change range(3) to a bigger number for more rows. Try it!

for i in range(6):
    print('🍓' * 4)

Growing Rows 📈

The loop counter i grows each time. Use it to make rows get longer!

for i in range(5):
    print('⭐' * (i + 1))

A Pyramid Start 🔺

Growing rows make a little staircase shape! See how each line adds one more.

for i in range(4):
    print('🟦' * (i + 1))

Mixing Emojis 🍭

You can repeat a pair of emojis too!

for i in range(3):
    print('🍭🍬' * 3)

Spaces Help 🌟

Add a space to spread emojis out a bit!

for i in range(3):
    print('🌟 ' * 5)

Loop Inside Words 🐝

Loops can print numbered rows too. i tells us which row we are on!

for i in range(3):
    print('Row', i, ':', '🐝' * 4)

Quick Check ✅

What does range(3) count?

Loop Master! 🏆

Great job! You learned to:

  • Repeat with a for loop 🔁
  • Use range() to count 🔢
  • Make rows with * ➡️
  • Grow rows using i 📈

Next: turn rows into real pictures! 🖼️

Free to start

Learn Python with an AI tutor — free

Write and run real code in your browser, get instant help from a 24/7 AI tutor, and pick up where you left off on the web or in the app.

Courses
35
Lessons
140

Frequently Asked Questions

Is the “Rows of Emojis” lesson free?

Yes — the full text of “Rows of Emojis” is free to read here on the web. 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. The Coding for Kids course includes 4 lessons in total.

What will I learn in “Rows of Emojis”?

Use loops. 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, so you can start here or from the beginning and move at your own pace. This is lesson 2 of 4.

How long does the “Rows of Emojis” 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. Printing Emojis
  2. Rows of Emojis
  3. Emoji Pictures
  4. Your Own Emoji Art
← Back to Coding for Kids