Being that the key has multiple values and I want to remove the one that is the same as the key itself? That is, I have a dictionary jumps
:
jumps = {'I6': ['H6', 'I6', 'I5'], 'T8' : ['T6', 'S6', 'T8']}
And I want to delete the value 'I6'
from the 'I6'
key and also 'T8'
from the 'T8'
key. How could I do this? I'm getting mixed up in parsing the strings versus the values.