Python Program to Iterate Over Dictionaries Using for Loop (Access both key and value using iteritems())
dt = {'a': 'juice', 'b': 'grill', 'c': 'corn'}
for key, value in dt.iteritems():
print(key, value)
Output
a juice b grill c corn
