I have the following problem:
I created two dictionaries
2. I want output as 'the capital of Ontario is toronto'
I created two dictionaries
province = {'onatario':'on', 'alberta':'ab', 'quebec':'qc', 'british_columbia':'bc'}
capitals = {'on':'toronto', 'ab':'edmonton', 'qc':'montreal', 'bc':'victoria'}
result = dict()
for key, value in province.items():
result[key] = capitals[value]1. this doesn't produce any results2. I want output as 'the capital of Ontario is toronto'
