return teh most frequent number of a list python code example
Example: how to get the most common number in python
>>> from statistics import mode
>>> mode((1, 2, 4, 4, 5, 4, 4, 2, 3, 8, 4, 4, 4))
4
>>> from statistics import mode
>>> mode((1, 2, 4, 4, 5, 4, 4, 2, 3, 8, 4, 4, 4))
4