Python Introducing Lists Using Lists Continental

Serena Terry
Serena Terry
510 Points

I have yielded the results that the challenge asked for but I am still getting an error with the second challenge?

continents = [ 'Asia', 'South America', 'North America', 'Africa', 'Europe', 'Antarctica', 'Australia', ] print("Continents:") for a in continents: if a[0] == "A": print(a)

continents.py
continents = [
    'Asia',
    'South America',
    'North America',
    'Africa',
    'Europe',
    'Antarctica',
    'Australia',
]
print("Continents:")
for a in continents:
    if a[0] == "A":
        print(a)

# Your code here

1 Answer

KRIS NIKOLAISEN
PRO
KRIS NIKOLAISEN
Pro Student 51,992 Points

If you check the test results you'll see an Assertion Error: '* Asia' not found in

Notice the bullet(asterisk) and space before the continent name. The task is looking for a bulleted list.