letters = ['a', 'b', 'a', 'c', 'd', 'd', 'a']
from collections import Counter
letter_counts = Counter(letters)
top = letter_counts.most_common(2)
print(top[0][1])
Post #1104
2.63K
Что выведет код?