一丶代码
words = [
'look', 'into', 'my', 'AAA', 'look', 'into', 'my', 'AAA',
'the', 'AAA', 'the', 'AAA', 'the', 'eyes', 'not', 'BBB', 'the',
'AAA', "don't", 'BBB', 'around', 'the', 'AAA', 'look', 'into',
'BBB', 'AAA', "BBB", 'under'
]
from collections import Counter
word_counts = Counter(words) # list转变为Counter对象
top_three = word_counts.most_common(1) # 参数表示排名前几个
print(top_three)