17/34
Part 5 of 7 · Alignment and growthLearn and do

An aligned block starts at a multiple, and the units skipped to reach it stay free

Some requests need an aligned block, one that starts at a multiple of a number such as 16.

Round each run's start up, and the block fits if it still ends inside the run

align = 16
for start in (3, 16, 17):
    print(start, -(-start // align) * align)
Predict

Round 3, 16 and 17 up to a multiple of 16. What do you get?

Pick one to see what it prints.
Pick an answer above to see the rest