Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Creative category for The Most Frequent by Tinus_Trotyl
def most_frequent(data):
items = dict()
for item in data: items[item] = items[item] + 1 if item in items else 1
return max(items, key=items.__getitem__ )
Oct. 30, 2017
Comments: