Contact: aviboots(AT)netvision.net.il
41,578 questions
54,200 answers
573 users
from collections import Counter counter = Counter() for ch in "python programming language": counter[ch] += 1 lst = counter.most_common() for item in lst: if (item[1] > 2): print(item[0], item[1]) ''' run: g 4 n 3 a 3 '''