0Pricing
Coding for Kids · Lesson

Multiplication Table

Print a times table.

Multiplication Table 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.

The Times Table! ✖️

Hey math wizard! 🧙 A multiplication table shows answers to times problems, like 2 × 3 = 6. ✖️

Today we make the computer print a whole table for us. No more memorizing! 🎉

print('2 times 3 is', 2 * 3)

The Star Means Times ⭐

In Python, the * symbol means multiply! So 4 * 5 means 4 times 5. ⭐

Let's try a few!

print(2 * 4)
print(3 * 3)
print(5 * 6)

One Number's Table 1️⃣

Let's print the whole table for the number 2! We use a loop to count 1 to 5 and multiply each by 2. 1️⃣

for n in range(1, 6):
    print('2 x', n, '=', 2 * n)

range Can Start Anywhere 🏁

Did you spot range(1, 6)? It starts at 1 and stops BEFORE 6, so we get 1, 2, 3, 4, 5! 🏁

This is perfect for times tables that start at 1.

for n in range(1, 6):
    print('Counting:', n)

The 5 Times Table 🖐️

Let's do the 5 times table! Each answer jumps up by 5. 🖐️ 5, 10, 15, 20, 25!

for n in range(1, 6):
    print('5 x', n, '=', 5 * n)

Pick Your Number 🎯

We can store the table number in a variable! Then change just ONE spot to make any table. 🎯

table = 7
for n in range(1, 6):
    print(table, 'x', n, '=', table * n)

Now With Two Loops! 🔁

Here's where nested loops shine! The outer loop picks the table number, the inner loop counts 1 to 5. We get MANY tables at once! 🔁

for table in range(1, 4):
    for n in range(1, 6):
        print(table, 'x', n, '=', table * n)
    print('---')

A Neat Grid of Answers 🟦

We can show just the answers in a grid! Each row is one table, each column multiplies by the next number. 🟦

for table in range(1, 4):
    for n in range(1, 6):
        print(table * n, end=' ')
    print()

Bigger Tables 🔢

Want the table to go up to 10? Just change the inner range to range(1, 11)! 🔢

table = 3
for n in range(1, 11):
    print(table, 'x', n, '=', table * n)

The Full Times Table 📋

Let's print a full grid from 1 to 4! Each line is a different table. Look how the numbers grow! 📋

for table in range(1, 5):
    for n in range(1, 5):
        print(table * n, end='\t')
    print()

You're a Math Machine! 🤖

Change the table number below and run it! Try 6, then 9, then 12. You just built a homework helper! 🤖✨

table = 6
for n in range(1, 11):
    print(table, 'x', n, '=', table * n)

Quick Check! 🧠

Let's test your multiplication magic! ✖️

Times Table Champion! 🎉

Fantastic work! 🎉 You can print times tables!

  • * means multiply ✖️
  • range(1, 6) counts 1 to 5 🏁
  • A variable lets you pick any table 🎯
  • Nested loops make MANY tables at once 🔁

You finished Patterns with Nested Loops! Super job! 🏆

for table in range(1, 4):
    for n in range(1, 6):
        print(table * n, end=' ')
    print()

Frequently asked questions

Is the “Multiplication Table” lesson free?

Yes — the full text of “Multiplication Table” 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 “Multiplication Table”?

Print a times table. 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 “Multiplication Table” 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. A Loop Inside a Loop
  2. Drawing a Grid
  3. Star Triangles
  4. Multiplication Table
← Back to Coding for Kids