1 / 9
INTRO

A Stretch of the Shelf

Last time you reached in and grabbed a single box. Sometimes that's not what you want.

Sometimes you want a run of them — the first three, or the middle few. Not one box, and not the whole shelf, but a stretch somewhere in between.

Python has a neat way to name a stretch like that.