python 返回一个列表中出现次数最多的元素. 时间:2021-01-04 22:07 作者:QQ地带 我要评论. def max_list(lt):. temp = 0. for i in lt: if lt.count(i) > temp:.
確定! 回上一頁