摘要: 题目:"""统计列表['a','c','c','d','a','d','d','d','e','a']每个元素的的次数,并按照次数大小进行排序,格式如[('a',3),('b',4)]""" #解法1: a=['a','c','c','d','a','d 阅读全文
posted @ 2018-06-07 10:02 上海小盖伦 阅读(184) 评论(0) 推荐(0) 编辑