Python Basics: counting


Dictionary (associative array) is a flexible datatype. In an article »Counting Things in Python: A History« Trey Hunner is showing the evelution of code in Python. A question is remaining: Is the following Zen statement still true?

There should be one
  -- and preferably only one --
       obvious way to do it.

The Link to the article is included at the end of the dictionary learning unit:

Datatyp: dictionary