python找重复元素_Python笔记(二)查找重复元素
一、查找数列重复元素---count()>>> list = [,,,,,,,,,,,]>>> set = set(list)>>> for item in set:print("the %d has found %d" %(item,list.count(item)))#输出#the has found#the has found#the...