count the number of occurrences of a certain value in a dictionary in python?
count the number of occurrences of a certain value in a dictionary in python? Question: If I have got something like this: D = {‘a’: 97, ‘c’: 0 , ‘b’:0,’e’: 94, ‘r’: 97 , ‘g’:0} If I want for example to count the number of occurrences for the “0” as a value without having to …