Dictionaries
Learn specialized container datatypes: defaultdict and OrderedDict.
We'll cover the following...
Introduction
A dictionary is a built-in data structure that holds items as key: value pairs. To index the dictionary, we can’t use a range of numbers. Keys (only immutable types allowed) serves the purpose of indexing. It’s an unordered structure.
Access this course and 1400+ top-rated courses and projects.