Hi,
I have a dictionary with the key as a tuple.
x = { ('AA',1,3):0.56, ('BB',0,3):0.70, ('AA',1,3):0.10, ('CC',1,3):0.60 }
I would like to get all the values where the key is equal to...
('AA',1,3)
However, when I use it only returns the last value where ('AA',1,3) is found.
x.get( ('AA',1,3) )
How would I do this to get all the values where ('AA,1,3) is satisfied. Therefore, I would like something where I can return both 0.56 and 0.10.