Contact: aviboots(AT)netvision.net.il
39,907 questions
51,839 answers
573 users
from collections import Counter s = "python javascript c c++ php c++ php java javascript" words = s.split(' ') dict = Counter(words) unique_words = [i for i in words if dict[i] == 1] print(unique_words) ''' run: ['python', 'c', 'java'] '''