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