iNTERFACEWARE Products Manual > Learning Center > Learning Python > Dictionaries |
|
Looking for Iguana v.5 or v.6? Learn More or see the Help Center.
In Python, a dictionary is a collection of keys and their associated values. The keys of a Python dictionary correspond to the words in a paper dictionary; the values of a Python dictionary correspond to the meanings of these words. Here is an example of a Python program that uses a dictionary to store patient names and IDs:
For more information on dictionaries, see the following sections: |