Challenge set
Python Loops
Practice Python loops through six focused Challenges covering ranges, collection traversal, nested iteration, counting, and practical repetition patterns.
Work through the collection
Challenges in This Set
- 01
Python
Game Start Countdown in Python
Use a descending Python for loop with range to print a countdown from the provided starting number, followed by a clear launch message.
50XPBeginner - 02
Python
Fuel Gauge in Python
Use a Python while loop that prints the remaining fuel, changes its state each time, stops at zero, and prints an empty warning.
50XPBeginner - 03
Python
Supply Run in Python
Iterate directly over a Python list of supplies and print every packed item in its original order without hardcoding the values.
50XPBeginner - 04
Python
Passing Scores in Python
Combine a Python for loop, conditional check, and accumulator to count how many scores meet or exceed the passing threshold.
50XPBeginner - 05
Python
Obstacle Course in Python
Use Python continue and break inside a loop to skip one checkpoint, stop at the finish, and avoid processing later entries.
50XPBeginner - 06
Python
Treasure Grid in Python
Search a two-dimensional Python grid with nested loops and report the zero-based row and column containing the treasure marker.
50XPBeginner

