Brando_Miranda:

do you know how to do this?


The problem as the error states is just that you modify the dictionary as you go trough it and python does not allow that.
Just append the modifications that needs to be done in a list during the for loop and them apply all of them after you’re done iterating over the dictionary.