Write a program which counts and reports the number of each alphabetical letter. Ignore the case of characters.
import string
S=[str(x) for x in input().lower().replace(" ","",1200)]
dictionary={}
alphabetlist=string.ascii_lowercase
for i in "abcdefghijklmnopqrstuvwxyz":    
    counter=0
    for j in S:
        if i==j:
            counter+=1
    print(str(i)+" "+str(counter))
import sys
cnts = {}
for line in sys.stdin:
    for c in list(line.lower()): cnts[c] = cnts.get(c,0) + 1
  
for c in range(ord('a'),ord('z')+1): print(chr(c),':',cnts.get(chr(c),0))