statistic = dict()
for letter in input('Please input a string: '):
    statistic[letter] = statistic.get(letter, 0) + 1
print('count results are as below')
for k, v in statistic.items():
    print('The char ', k, ' appear ', v, ' times')

b12f2defe6de5dab8631a99120b7710bc56ba752
<mask token>

<mask token>
for letter in input('Please input a string: '):
    statistic[letter] = statistic.get(letter, 0) + 1
print('count results are as below')
for k, v in statistic.items():
    print('The char ', k, ' appear ', v, ' times')

statistic = dict()
for letter in input('Please input a string: '):
    statistic[letter] = statistic.get(letter, 0) + 1
print('count results are as below')
for k, v in statistic.items():
    print('The char ', k, ' appear ', v, ' times')
