##############################################################################
# Python From Scratch
# Autor: Nilo Ney Coutinho Menezes
# Editora Novatec (c) 2010-2024
# Site: https://pythonfromscratch.com
#
# File: listing\chapter 06\06.23 - Example of a dictionary with no default value.py
# Description: Example of a dictionary with no default value
##############################################################################
d = {}
for letter in "abracadabra":
if letter in d:
d[letter] = d[letter] + 1
else:
d[letter] = 1
print(d)