You can certainly iterate over a dictionary. It will iterate over the keys of the dictionary.