skip to Main Content

Create two lists, one with the name of three countries, another with the names o

Please note that this is just a preview of a school assignment posted on our website by one of our clients. If you need assistance with this question too, please click on the Learn More button at the bottom of the page to get started.

Create two lists, one with the name of three countries, another with the names of the capitols of those countries. Create an empty dictionary. Using a while loop, turn the two lists into a single dictionary with the country as the key and the capital as the value. The using a for loop, ask whether the user has visited the city/country. If they have, print a statement asking them if they enjoyed it. If they have not, print a statement saying they should.

Get Help Today

Struggling with this particular assignment? Learn how our team of professional writers can help you today.

Leave a Reply

Your email address will not be published. Required fields are marked *