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