Contact: aviboots(AT)netvision.net.il
38,546 questions
50,217 answers
573 users
from collections import defaultdict lst = ["python php", "java c c++", "python rust", "go python"] dic = defaultdict(int) for s in lst: for word in s.split(): dic[word] += 1 result = max(dic, key = dic.get) print(result) ''' run: python '''