Python Introducing Lists Using Lists Continental

Dylan Fried
Dylan Fried
3,123 Points

Getting the correct output but the task is not letting me advance

I've refreshed the page to see if it would work but it didn't. I displayed all of the continents that start with the letter "A", but I'm getting the following error message: AssertionError: '* Asia' not found in 'Asia\nAfrica\nAntarctica\nAustralia' : Hmm...not finding the correct items in your output
continents = [
    'South America',
    'North America',
# Your code here
for continent in continents:
    if continent[0] == 'A':

1 Answer

Pro Student 46,226 Points

This task is also to print a bulleted list. You can see it in the assertion error '* Asia' . Notice the *.

Dylan Fried
Dylan Fried
3,123 Points

Thank you for the help!