Code Smarter with Python Dictionary Subclasses

Learn about Counter, OrderedDict, defaultdict

Photo by Waldemar Brandt on Unsplash

For those starting off in Python, one of the first things you’ve probably learned about is the dictionary data type. Dictionaries are extremely useful for storing data in key-values pairs and are widely used. The purpose of this article is to provide a quick introduction to three dictionary subclasses from…