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