I have a list like: d = [(\'red\', 1), (\'blue\', 2), (\'green\', 3))]
I would like to iterate through this list, getting each pairing of word and number and putting