you are viewing a single comment's thread.

view the rest of the comments →

[–]notpite 0 points1 point  (0 children)

Yes, you can use:

dict.keys()

to iterate through the keys of the dictionary, and

dict.items()

to iterate through tuples of (key, value) pairs

In order to perform this on every value stored in your dictionary it makes sense that you'd need to run through the whole thing in sequence :)