Python Introducing Lists Using Lists Continental

I'm having trouble with the second part of this challenge

The code I have written seems to answer what the question is asking for, but when I submit it, it says it is wrong. Could someone please clarify what is wrong with the code I have written? Thanks!
continents = [
    'South America',
    'North America',
# Your code here
for continent in continents:
    print('* ' + continent)

for continent in continents:    
    if "A" in continent[0]:

3 Answers

Antonio De Rose
Antonio De Rose
20,840 Points
# almost there, think a little deep

for continent in continents:    
    if "A" in continent[0]: # how do you check a condition for a value of a string, this line is only error

# if continent[0] == 'A'
Full Stack JavaScript Techdegree Student 1,168 Points

Hey David! MaryJane here, remember me? I'm on Full stack JS TD. Nice to see you here! small world :)

Hi Jane, I think you have the wrong David haha. I have only done the Python TD and I just started. Nice to meet you anyway!