# d is dictionary of character countd = {'a': 3, 'b': 5, 'c': 8}Get dictionary values in python 2: d.values()In Python 3: >>> d = {'a': 3, 'b': 5, 'c': 8} >>> d.values() dict_values([3, 5, 8]) >>> list(d.values()) [3, 5, 8]