The objects we're looking up are called values . They make many tasks more convenient. Keeping track of objects we've seen . This would be helpful for our puzzle solver from an earlier class . There are a number of techniques for implementing and thinking about databases.
Dictionaries provide a simple mechanism for single-keyed databases.
Later, we'll look at how to build them. Some are similar to those we need for vectors. Remove something from the dictionary. Others correspond more to the different structure of dictionaries. Dictionaries vs. Databases Note that dictionaries are not the same as databases.