This code prints a table of the letters of the alphabet in alphabetical order which occur in the string together with the number of times each letter occurs. There are two unwanted numbers in this code which are 8 and .1 but I do not know how to remove them from the output.
s = 'ThiS is String with Upper and lower case Letters.'
# Or see Python's Counter class: counts = Counter(s.lower())
counts = {}
for c in s.lower():
counts[c] = counts.get(c, 0) + 1
for c, n in sorted(counts.items()):
print(c, n)