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.py
continents = [
    'Asia',
    'South America',
    'North America',
    'Africa',
    'Europe',
    'Antarctica',
    'Australia',
]
# Your code here
for continent in continents:
    if continent[0] == 'A':
        print(continent)

1 Answer

KRIS NIKOLAISEN
PRO
KRIS NIKOLAISEN
Pro Student 48,727 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!