For example, if I have a dictionary "dict" that contains 3 lists as values : {1: ['A', 'B', 'C'], 2: ['D'], 3: ['Z']}
How do I check if 'D' is an element inside any of the 3 lists inside the dictionary?
'C' in dict.values()
doesn't work, which I think is because "dict" only contains lists as values, rather than letters.