Or for a delivery-collection task:

If you want to impress or reduce lines of code, you can use a while loop with a counter:

If that’s correct, is typically a Python challenge (not Blockly) in the “Rapid Router” course, often requiring you to use variables , loops , and possibly conditional logic to navigate a van collecting items (or delivering parcels) efficiently.