🌈 搜索
📅  最后修改于: 2022-03-11 14:45:11.809000             🧑  作者: Mango
dot_product = sum(dict_1[key]*dict_2.get(key, 0) for key in dict_1)