Abstract
A Dictionary is a set of associations between a key and a value that is unordered, changeable (mutable) and indexed. Pictorially we might view a Dictionary as shown below for a set of countries and their capital cities. Note that in a Dictionary the keys must be unique but the values do not need to be unique.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
Copyright information
© 2019 Springer Nature Switzerland AG
About this chapter
Cite this chapter
Hunt, J. (2019). Dictionaries. In: A Beginners Guide to Python 3 Programming. Undergraduate Topics in Computer Science. Springer, Cham. https://doi.org/10.1007/978-3-030-20290-3_33
Download citation
DOI: https://doi.org/10.1007/978-3-030-20290-3_33
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-20289-7
Online ISBN: 978-3-030-20290-3
eBook Packages: Computer ScienceComputer Science (R0)