for x,y in dict python code example Example: python for k, v in dictionary for k, v in d.iteritems(): print k, v