instead of putting an integer between the square bracketsyou can usesaya string key this will evaluate to the value for that key getting the size of dictionaries with len(you can get the number of key-value pairs in the dictionary with the len(function try entering the following into the interactive shellstuff {'hello':'hello therehow are you?' :'bacon''spam': len(stuff the difference between dictionaries and lists dictionaries can have keys of any data typenot just strings but rememberbecause and ' are different valuesthey will be different keys try entering this into the interactive shellspam {' ':' string' :'an integer'spam[ 'an integerspam[' '' stringthe keys in dictionaries can also be looped over using for loop try entering the following into the interactive shell favorites {'fruit':'apples''animal':'cats''number': for in favoritesprint(kfruit number animal for in favoritesprint(favorites[ ]apples cats dictionaries are different from lists because the values inside them are unordered the first item in list named liststuff would be liststuff[ but there' no "firstitem in dictionarybecause dictionaries do not have any sort of order try entering the following into the interactive shellfavorites {'fruit':'apples''number': 'animal':'cats'