Dictionaries are mutables and support mutable functions. But this is a case where dictionaries are slightly different from lists. We are allowed to loop over a dictionary as we modify it, so long as we do not add or remove keys. We are only allowed to change values.
- Tags
-