Python Introducing Lists Using Lists Continental

Maher Wardak
Maher Wardak
4,595 Points

for loops

whats wrong with my code?
continents = [
    'South America',
    'North America',
# Your code here
for continent in continents:

1 Answer

You get an assertion error that begins with:

AssertionError: '* Asia' not found in 'Asia

The challenge is looking for a bulleted list so for each continent you need the print an asterisk followed by a space then the continent.