licznik Python staje się najczęstszy
from collections import Counter
list_of_words = ['Cars', 'Cats', 'Flowers', 'Cats', 'Cats', 'Cats']
c = Counter(list_of_words)
c.most_common(1)
print("", c.most_common(1))
Kodi4444