🌈 搜索
📅  最后修改于: 2022-03-11 14:45:40.888000             🧑  作者: Mango
counts = dict() for i in items: counts[i] = counts.get(i, 0) + 1