from collections import Counter arr = [1,2,3,4,4,5,6,7,7,8,9,9,9,9,10] count_result = Counter(arr) most_common_item = count_result.most_common(1) value = most_common_item[0][0] print(value)
To embed this project on your website, copy the following code and paste it into your website's HTML: