Python Introducing Lists Using Lists Continental

Andrew Bickham
PRO
Andrew Bickham
Pro Student 1,354 Points

continent

I know my code is right by it wont let me pass?

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


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

1 Answer

KRIS NIKOLAISEN
PRO
KRIS NIKOLAISEN
Pro Student 47,377 Points

You should only have one for loop. Just edit task 1 for task 2. Also task 2 requires a bullet before the continent name.