for keys, values in dict.items(): code example Example: python for k, v in dictionary for k, v in d.iteritems(): print k, v