Unit 2 Task 19 - Solution

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

Solution - Task 19: Shop times table poster

← Back to task


One possible program:

pack_size = int(input("Pack size N: "))

for multiplier in range(1, 13):
    print(multiplier, "x", pack_size, "=", multiplier * pack_size)