Sorry for this basic question but my searches on this are not turning up anything other than how to get a dictionary\'s key based on its value which I would prefer not to us
If you want to access both the key and value, use the following:
Python 2:
for key, value in my_dict.iteritems(): print(key, value)
Python 3:
for key, value in my_dict.items(): print(key, value)