for x in items is a robot arm: fetch one โ process it โ drop it in the bin, then repeat. It never jumps ahead โ one item at a time, until the tray is empty.
๐ก Run result = everything that happened while the loop ran (the bin's contents). Return value = what the loop hands back when it's done. A bare for loop hands back None โ the list itself is the result.