Mar-08-2021, 04:10 PM
You don't show, but I guess that your loop is
for j in
...?Perhaps it would be easier for yourself to keep track of things by using the [inline]dictionary.update()[/inline] method rather than "="? [python] your_dictionary.update({ new_key : new_value})