Learn to code with step-by-step lessons. A place for students to work through programming fundamentals and build skills.
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.