I want two dictionaries to be equal but not identical, so that I can modify one without changing the other. Here's an example on Python:
a={'a':[1,2],'b':[3,4]}
b={key:a[key] for key in a}
b['b'][0]=5
Everytime I do that I'm changing both b and a! How can I not do that?