Contact: aviboots(AT)netvision.net.il
41,222 questions
53,724 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'] '''