lst = [1,2,3]
dst = {i : i* 2 for i in lst}
s = set(dst.values())
lst[0] = 99 
dst[2]=7
s.add(99)

print(len(s & set(dst.values())))

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: