I have a dictionary that has a key containing a string and int data type:
{'Key1': 0, 0: True, 1: False, 2: None}
I want to overwrite the key value to this:
{'Key1': 0, -2: True, -1: False, 0: None}
How do I overwrite only the int key?
I have a dictionary that has a key containing a string and int data type:
{'Key1': 0, 0: True, 1: False, 2: None}
I want to overwrite the key value to this:
{'Key1': 0, -2: True, -1: False, 0: None}
How do I overwrite only the int key?