I have a dictionary of objects which contains the "Names/Ranges" within a spreadsheet. As I process the spreadsheet I need to update the value associated with a r
for foo in some_dict iterates through the keys of a dictionary, not its values.
for foo in some_dict
d = {'a': 1, 'b': 2, 'c': 3} for dd in d: print(dd) # gives a; b; c
You probably want to do for foo in some_dict.values()
for foo in some_dict.values()
for dd in d.values(): print(dd) # gives 1; 2; 3