Create a dictionary that maps countries to their capitals. You may start with an empty dictionary. Ask the user to input the name of the country and its capital and add them to the dictionary.
For example, Capitals = { ‘Argentina’:‘Buenos Aires’, ‘France’:‘Paris’, ‘US’:‘Washington D.C.’}
Once the dictionary is created, print the capitals in alphabetical order
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here