For a dict copy, you can do `d = d.copy()`. But that only copies the outermost dict. If there are other mutable values inside of the dict, they stay the same (there's the deepcopy module for that case):
```
>>> a = {1: []}
>>> b = a.copy()
>>> a is b
False
>>> a[1] is b[1]
True
>>> b = dict(**a)
>>> a[1] is b[1]
True
``