收起
l = [2, 2, 3, 1, 2, 2, 1, 8, 5] print(sorted(l, key=lambda x: l.count(x), reverse=True)[0])
报告相同问题?