## Counter the number of occurrences
message = 'It was a bright cold day in April, and the clocks were striking thirteen.'
count = {}

for character in message:
    count.setdefault(character, 0)
    count[character] = count[character] + 1

print(count)    

## Cleaner display with Pretty print

import pprint

pprint.pprint(count)


a9302ad00e595c9f4d00577f41c25243263ff1e6
<mask token>

<mask token>
for character in message:
    count.setdefault(character, 0)
    count[character] = count[character] + 1
print(count)
<mask token>
pprint.pprint(count)

message = (
    'It was a bright cold day in April, and the clocks were striking thirteen.'
    )
count = {}
for character in message:
    count.setdefault(character, 0)
    count[character] = count[character] + 1
print(count)
<mask token>
pprint.pprint(count)

message = (
    'It was a bright cold day in April, and the clocks were striking thirteen.'
    )
count = {}
for character in message:
    count.setdefault(character, 0)
    count[character] = count[character] + 1
print(count)
import pprint
pprint.pprint(count)

## Counter the number of occurrences
message = 'It was a bright cold day in April, and the clocks were striking thirteen.'
count = {}

for character in message:
    count.setdefault(character, 0)
    count[character] = count[character] + 1

print(count)    

## Cleaner display with Pretty print

import pprint

pprint.pprint(count)

