Contact: aviboots(AT)netvision.net.il
39,939 questions
51,876 answers
573 users
from collections import Counter counter = Counter() for ch in "python programming": counter[ch] += 1 print(sum(counter.values())) ''' run: 18 '''