📅  最后修改于: 2022-03-11 14:45:38.890000             🧑  作者: Mango
代码示例1
my_temp = defaultdict(int)
for sub in my_list:
for word in sub.split():
my_temp[word] += 1
result = max(my_temp, key=my_temp.get)