import random
a=[random .randint (0,101) for i in range(1000)]
from collections import Counter
count=Counter(a)
print(count)
python之统计各个元素的个数
猜你喜欢
转载自blog.csdn.net/helloworld0906/article/details/82970582
今日推荐
周排行