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