Welcome to the Treehouse Community
Looking to learn something new?
marli smit4,236 Points
stuck on continental task 2 challange
Could someone please assist me as to what I am missing in this code?
continents = ['Asia', 'South America', 'North America', 'Africa', 'Europe', 'Antarctica', 'Australia'] for continent in continents: if continents == 'A': print("* " + continent)
you are checking continents, which means you are checking if the first continent (Asia) is equal to A. You are looking through each continent, so that should be continent since you are checking for the letter.