x = dict(a = 1, b = 2, c = 3, d = 2, e = 4, f = 3)
y = ______ #存放无重复值的新字典初始化
for key, value in x.items(): #遍历字典x的键值对
for v in y.values(): #遍历y的各个值
if v == value: #比较值是否相等
_______
else:
y[key] = _____ #y字典追加新键值对
print(y)
对字典进行消除重复值,请问这些空该怎么填