Contact: aviboots(AT)netvision.net.il
39,940 questions
51,877 answers
573 users
from collections import Counter counter = Counter() for ch in "python programming": counter[ch] += 1 print(set(counter)) ''' run: {'n', 'r', 'p', 'i', 'y', 'o', 'm', 'a', 'h', ' ', 't', 'g'} '''