import pprint
print('Enter text to count the number of  each letter in the text')
text = input()
num = {}
for letter in text.upper():
    num.setdefault(letter, 0)
    num[letter] += 1

pprint.pprint(num) #to print it better

newtext = pprint.pformat(num)         # saves the pprint output as a string value for futher use


11010786902cc76346a67b2dc20243b63f32b255
<mask token>

<mask token>
print('Enter text to count the number of  each letter in the text')
<mask token>
for letter in text.upper():
    num.setdefault(letter, 0)
    num[letter] += 1
pprint.pprint(num)
<mask token>

<mask token>
print('Enter text to count the number of  each letter in the text')
text = input()
num = {}
for letter in text.upper():
    num.setdefault(letter, 0)
    num[letter] += 1
pprint.pprint(num)
newtext = pprint.pformat(num)

import pprint
print('Enter text to count the number of  each letter in the text')
text = input()
num = {}
for letter in text.upper():
    num.setdefault(letter, 0)
    num[letter] += 1
pprint.pprint(num)
newtext = pprint.pformat(num)

import pprint
print('Enter text to count the number of  each letter in the text')
text = input()
num = {}
for letter in text.upper():
    num.setdefault(letter, 0)
    num[letter] += 1

pprint.pprint(num) #to print it better

newtext = pprint.pformat(num)         # saves the pprint output as a string value for futher use

