Skip to main content

Project: Continuous Countries

This section's project is similar in a way to the last section's project.

Here's what it should do (and remember how it does it matters less than it working well!):

  1. Ask the user whether they want to enter a new country or quit.
    1. If they want to enter a country, ask for the country name and add it to a list of countries.
  2. Ask the user again whether they want to enter a new country, see their countries, or quit.
    1. If they want to see their countries, show them the contents of their list in a nice format (i.e. don't just print the variable out!).

Extra

As an optional extra, you can also ask the user for when they visited the country, as well as the country name. That'll make the app a little more useful!

You can tackle this project in the repl below (and see the next chapter for how I did it).