0 votes
in Python by
Find the most frequent value in a list

1 Answer

0 votes
by
test = [1, 2, 3, 9, 2, 7, 3, 5, 9, 9, 9]

print(max(set(test), key = test.count))

Output:

9

Related questions

0 votes
asked Feb 11, 2021 in Python by SakshiSharma
+2 votes
asked Feb 15, 2021 in Python by SakshiSharma
...