having this information in data structure along with the totalbrought(function would save you lot of timeyou can model things with data structures in whatever way you likeas long as the rest of the code in your program can work with the data model correctly when you first begin programmingdon' worry so much about the "rightway to model data as you gain more experienceyou may come up with more efficient modelsbut the important thing is that the data model works for your program' needs summary you learned all about dictionaries in this lists and dictionaries are values that can contain multiple valuesincluding other lists and dictionaries dictionaries are useful because you can map one item (the keyto another (the value)as opposed to listswhich simply contain series of values in order values inside dictionary are accessed using square brackets just as with lists instead of an integer indexdictionaries can have keys of variety of data typesintegersfloatsstringsor tuples by organizing program' values into data structuresyou can create representations of real-world objects you saw an example of this with tic-tac-toe board practice questions what does the code for an empty dictionary look likewhat does dictionary value with key 'fooand value look likewhat is the main difference between dictionary and listwhat happens if you try to access spam['foo'if spam is {'bar' }if dictionary is stored in spamwhat is the difference between the expressions 'catin spam and 'catin spam keys()if dictionary is stored in spamwhat is the difference between the expressions 'catin spam and 'catin spam values()what is shortcut for the following codeif 'colornot in spamspam['color''black what module and function can be used to "pretty printdictionary values