some_dict = {'abc': 'a', 'cdf': 'b', 'gh': 'a', 'fh': 'g', 'hfz': 'g'}
new_dict = defaultdict(list)
for k, v in some_dict.items():
    new_dict[v].append(k)
Find all Key-Elements by the same Value in Dicts