🌈 搜索
📅  最后修改于: 2022-03-11 14:46:58.776000             🧑  作者: Mango
# most frequent value in a list test = [1, 2, 3, 4, 2, 2, 3, 1, 4, 4, 4] print(max(set(test), key = test.count))