You’ve seen that lists are useful when you want to group values into a structure and refer to each value by number. In this chapter, you learn about a data structure in which you can refer to each value by name. This type of structure is called a mapping.
- 4. Dictionaries: When Indices Won’t Do
- from Beginning Python: From Novice to Professional, 3rd Edition
- Publisher: Apress
- Released: March 2017
sequence: refer to element by number;
mapping: refer to element by name.
Share this highlighthttp://www.safaribooksonline.com/a/beginning-python-from/12259862/