The defaultdict Object in Python
Learn about a better alternative to the Python dictionary object
Published in
4 min readJun 28, 2021
Every Python developer knows about dictionary objects in Python. However, there is another dictionary-like object, called a defaultdict object, which offers additional functionality when compared to regular dictionary objects.