Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

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
 
PREVIOUS NEXT
Tagged: #common #number #python
ADD COMMENT
Topic
Name
8+3 =