Let's say we have two dictionaries:
c1 = {'Disks': [1, 3, 6, 2], 'left': True, 'right': False}
c2 = {'Disks': [0, 5, 7, 9, 8], 'left': False, 'right': True}
How would I add them together so that the new dictionary is as follows:
{'Disks': [1, 3, 6, 2, 0, 5, 7, 9, 8], 'left': True, 'right': True}
so basically anything in 'Disks'
will merge together.
Also if one of the left keys are true the left key in the new dictionary will be true, and if both are false then the left key in the new dictionary remains false. I would also like the same thing to happen to the right key.