1 / 10

Tally Marks

Someone asks the room: tea, coffee or juice?

You grab a scrap of paper and make a little mark next to each answer as it comes in. By the end you don't really have a list of answers any more. You have how many of each — which is almost always what you wanted to know.

Programs need that all the time. And Python has a tool built for exactly this job.