# 2A: Set label to invalid/rest/short/long for minutes <0, ==0, <30, >=30.
minutes = 30
label = None
# TODO: write a branch. Keep this 30 -> long case. In separate scratch runs,
# pair -1 with invalid, 0 with rest, and 29 with short BEFORE running.
assert label == "long"
# 2B: Sum only strictly positive values using a for loop.
values = [10, -5, 0, 25]
total = 0
# TODO: loop here.
assert total == 35
# 2C: Use while to build [3, 2, 1], reducing remaining each iteration.
remaining = 3
countdown = []
# TODO: loop here; do not write an unbounded while True loop.
assert countdown == [3, 2, 1]
print("Module 2 checks passed")