import statistics list_one = [1,1,1,2,3,4,5,6] x = statistics.mode(list_one) print(x)
from scipy import stats speed = [99,86,87,88,111,86,103,87,94,78,77,85,86] x = stats.mode(speed) print(x)