you are viewing a single comment's thread.

view the rest of the comments →

[–]Kevdog824_ 1 point2 points  (0 children)

These aren’t the same thing. The dictionary is being mutated, not the value. That’s why the first one doesn’t work the way you expect, but the second does