capitals = {
'USA': 'Washington D.C.',
'France': 'Paris',
'Brazil': 'BrasÃlia',
'Peru': 'Lima'
}
num_char = 0
# iterate over keys here...
for
print(num_char)
# expected: 19
Python
Setting up Python environment...
Output