Exercise: Create dictionary
Create the missing dictionary and add the requested key-value pairs. Add the keys France and Japan and assign appropriate values.
# create missing dictionary here...
print('The capital of France is', capitals['France'])
# expected: The capital of France is Paris
print('The capital of Japan is', capitals['Japan'])
# expected: The capital of Japan is Tokyo
Python
Setting up Python environment...
Output