Python · Dictionaries, tuples and sets

Counting with a dictionary

How often each letter, grade or error code turns up is one of the most common questions a program answers.