📅  最后修改于: 2022-03-11 14:45:04.105000             🧑  作者: Mango
list = ["a","c","c","a","b","a","a","b","c"]
cnt = Counter(list)
od = OrderedDict(cnt.most_common())
for key, value in od.items():
print(key, value)