In this quiz, you’ll test your understanding of Python’s collections: A Buffet of Specialized Data Types.
Python’s collections module provides specialized container data types that approach specific programming problems more clearly and more efficiently than the general purpose built-ins do.
You’ll revisit namedtuple() for readable code, deque for queues and stacks, defaultdict for missing keys, OrderedDict for ordering, Counter for tallies, ChainMap for multiple mappings, and the wrapper classes for customizing built-ins.
[ Improve Your Python With 🐍 Python Tricks 💌 – Get a short & sweet Python Trick delivered to your inbox every couple of days. >> Click here to learn more and see examples ]