DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
8+3 =
Submit