
strin = "ThiS is String  with Upper and lower case Letters"


def cunt_letters(s):

    s= string.lower()  
    s = s.split()
    s = "".join(s1)
    pint(s2)
0
1
2    ltter_counts = {}
3
4    fr l in s2:
5       letter_counts[l] = letter_counts.get(l ,0)+1
6
7
8    _ist = list(letter_counts.items())
9    _ist.sort()
0    dc = dict(_list)
1    
2
3    fr key,value in dic.items():
4       print(key,"  ",value)
5
6
7countletters(string)