11 ms·You could use statistics.median (in python 3.6+)by dagurp 6y agoYou could use statistics.median (in python 3.6+)