Counter python 自动统计list from collections import CounterCounter([1,2,2,3]) ->{1:1,2:2,3:1} python 2023-05-30 115 点赞 1 评论 174 浏览