Learn to code with step-by-step lessons. A place for students to work through programming fundamentals and build skills.
A shop sells items in packs of N. Print a small poster: for multipliers 1 through 12, print a line like 3 x 7 = 21 (if N were 7).
Ask once for N (integer). Use a for loop.
Skills: for, range, formatted output.