Unit 2 Task 49: Full multiplication square

Learn to code with step-by-step lessons. A place for students to work through programming fundamentals and build skills.

Unit 2 Task 49 - Full multiplication square

← Unit 2 tasks · Solution


Print a 12 × 12 grid where the cell at row r and column c shows r × c (both from 1 to 12). Use two nested for loops.

Separate numbers with a tab \t or fixed spaces so it is readable enough.

Skills: nested for, print(..., end="") if you want one row per outer loop.

Stretch: print a header row of 1..12.