01 / 06
Splitting every item two ways
Last time you handled only the items that matched a condition.
This time you will use if-else to send every single item one way or the other. Pass and fail, even and odd, in stock and sold out — the basic form of sorting things into groups.