I have:
dictionary = {\"foo\":12, \"bar\":2, \"jim\":4, \"bob\": 17}
I want to iterate over this dictionary, but over the values instead of the
How about this:
dictionary = {"foo":12, "bar":2, "jim":4, "bob": 17} for val in dictionary.values(): # do something