print("you ordered pizza['crust'"-crust pizza "with the following toppings:" for topping in pizza['toppings']print("\ttoppingwe begin at with dictionary that holds information about pizza that has been ordered one key in the dictionary is 'crust'and the associated value is the string 'thickthe next key'toppings'has list as its value that stores all requested toppings at we summarize the order before building the pizza to print the toppingswe write for loop to access the list of toppingswe use the key 'toppings'and python grabs the list of toppings from the dictionary the following output summarizes the pizza that we plan to buildyou ordered thick-crust pizza with the following toppingsmushrooms extra cheese you can nest list inside dictionary any time you want more than one value to be associated with single key in dictionary in the earlier example of favorite programming languagesif we were to store each person' responses in listpeople could choose more than one favorite language when we loop through the dictionarythe value associated with each person would be list of languages rather than single language inside the dictionary' for loopwe use another for loop to run through the list of languages associated with each personfavorite_ favorite_languages languages py 'jen'['python''ruby']'sarah'[' ']'edward'['ruby''go']'phil'['python''haskell'] for namelanguages in favorite_languages items()print("\nname title("' favorite languages are:" for language in languagesprint("\tlanguage title()as you can see at the value associated with each name is now list notice that some people have one favorite language and others have multiple favorites when we loop through the dictionary at vwe use the variable name languages to hold each value from the dictionarybecause we know that each value will be list inside the main dictionary loopwe use