Before you keep reading...
Runestone Academy can only continue if we get support from individuals like you. As a student you are well aware of the high cost of textbooks. Our mission is to provide great books to you for free, but we ask that you consider a $10 donation, more if you can or less if $10 is a burden.
Before you keep reading...
Making great stuff takes time and $$. If you appreciate the book you are reading now and want to keep quality materials free for other students please consider a donation to Runestone Academy. We ask that you consider a $10 donation, but if you can give more thats great, if $10 is too much for your budget we would be happy with whatever you can afford as a show of support.
12.6. Glossary
- dictionary
A collection of key-value pairs that maps from keys to values. The keys
can be any immutable type, and the values can be any type.
- key
A data item that is mapped to a value in a dictionary. Keys are used
to look up values in a dictionary.
- key-value pair
One of the pairs of items in a dictionary. Values are looked up in a
dictionary by key.
- mapping type
A mapping type is a data type comprised of a collection of keys and
associated values. Python’s only built-in mapping type is the
dictionary. Dictionaries implement the
associative array
abstract data type.
You have attempted
of
activities on this page