Creating sets of values:
list(set(dict_a.values()) & set(dict_b.values()))
This creates the intersection of unique values in the dictionary:
>>> dict_a = {'a': 1, 'b': 3, 'c': 4, 'd': 4, 'e': 6}
>>> dict_b = {'d': 1, 'e': 6, 'a': 3, 'v': 7}
>>> list(set(dict_a.values()) & set(dict_b.values()))
[1, 3, 6]
Unfortunately, we cannot use vocabulary representations here (which can act as sets) because the dictionary values do not have to be unique. If you asked for only keys or key-value pairs, calls set()would not be necessary.