Unit 2 Task 30: FizzBuzz inventory labels

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

Unit 2 Task 30 - FizzBuzz inventory labels

← Unit 2 tasks · Solution


Warehouse labels use codes 1 to N. For each integer:

Ask for N (positive). Use a for loop from 1 to N.

Skills: %, if / elif, for.