Home » Unit 4: Exercise 1: Snap! project “Let’s get Travelling”

Let's get Travelling

🌍 Snap! Project: List of Countries - No need for a Passport

In this exercise, you’ll help Alonzo build a program to manage a list of countries that have been entered without a passport.

🛠️ What to Do:

  1. Open the Project: Start by opening the Snap! project where you’ll begin your journey with lists:

    🔗 Unit 04: Exercise 1

  2. Extend the Script: Once the project is open, extend the script under the green flag to create a list where countries can be added. You’ll program Alonzo to:

    • Ask for a country to be entered when the ‘+’ key is pressed.

    • Add each country to the list.

    • When the up arrow is pressed, Alonzo should say the number of countries in the list and display them in alphabetical order.

🔍 Need Help?

If you want to check out the completed project or get a hint for the solution, you can open the solution project here:

🔗 Solution: Unit 04 Exercise 1

Feedback

We appreciate your feedback! It helps us continuously improve our course materials.