I have an input list, say x = [1,1,2,1,4,3,5,3,3] and I want to find the mode using Python 2.6.
Google so far gives me only answers such as Counter, statistics and mode() which all work for Python 2.7 and higher, but not 2.6.
My question now is: would anyone know how to easily calculate the mode(s) of such a list without programming the whole function itself?