['aa''bb''cc' pop( 'bbl ['aa''cc'delete from specific position dictionaries also provide copy methodwe'll revisit this in as it' way to avoid the potential side effects of shared references to the same dictionary in factdictionaries come with more methods than those listed in table - see the python library manualdir and helpor other reference sources for comprehensive list your dictionary ordering may varydon' be alarmed if your dictionaries print in different order than shown here as mentionedkey order is arbitraryand might vary per releaseplatformand interactive session in (and quite possibly per day of the weekand phase of the moon!most of the dictionary examples in this book reflect python ' key orderingbut it has changed both since and prior to your python' key order may varybut you're not supposed to care anyhowdictionaries are processed by keynot position programs shouldn' rely on the arbitrary order of keys in dictionarieseven if shown in books there are extension types in python' standard library that maintain insertion order among their keys--see ordereddict in the collections module--but they are hybrids that incur extra space and speed overheads to achieve their extra utilityand are not true dictionaries in shortkeys are kept redundantly in linked list to support sequence operations as we'll see in this module also implements namedtuple that allows tuple items to be accessed by both attribute name and sequence position-- sort of tuple/class/dictionary hybrid that adds processing steps and is not core object type in any event python' library manual has the full story on these and other extension types examplemovie database let' look at more realistic dictionary example in honor of python' namesakethe following example creates simple in-memory monty python movie databaseas table that maps movie release date years (the keysto movie titles (the valuesas codedyou fetch movie names by indexing on release year stringstable {' ''holy grail'' ''life of brian'' ''the meaning of life'year ' movie table[yearmovie 'the meaning of life lists and dictionaries keyvalue dictionary[key=value