So a really basic example that works:
dict1 = dict({'a':[1,2,3],'b':[4,5,6],'c':[7,8,9]})
dict2 = dict1.copy()
dict2['a'] = [9,9,9]
print(dict1['a'])
result: [1,2,3]
The result shows that I was able to edit the copy without changing the original.
But if I instead do:
dict1 = dict({'a':[1,2,3],'b':[4,5,6],'c':[7,8,9]})
dict2 = dict1.copy()
dict2['a'][0] = 9
print(dict1['a'])
result: [9,2,3]
So it looks like using .copy() makes it so the copied dict has independent keys from the original dict, but the values associated with those keys are still connected. Is there a workaround for this? Thanks!