📅  最后修改于: 2022-03-11 14:45:58.848000             🧑  作者: 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)