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