Python Introducing Lists Using Lists Continental

Khaled Issa
Khaled Issa
2,621 Points

for continent in continents: if continent[0] == "A": print(continent)

why is this not excepted as an answer?

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

2 Answers

Steven Parker
Steven Parker
201,320 Points

You still need to print the names with a "bullet" as you did for task 1.