Figure
10.1
credit: modification of work "Dictionary", by Caleb Roenigk/Flickr, CC BY 2.0
Chapter Outline
Introduction
A Python dictionary is a data type for storing the data in a key-value pair format. In this chapter, the dictionary data type is introduced. This chapter also introduces ways to use dictionaries, including looping over dictionary items and performing conditional statements on a dictionary.