Dictionaries

A dictionary pairs each key with a value and finds a value from its key directly, which is what counting how often each word appears needs, with a missing key giving a `KeyError` unless `get` is used.

From Introduction to Computer Science.