Python Introducing Lists Using Lists Continental

Why my code not accepted ?

why it not accepted ?

continents.py
continents = [
    'Asia',
    'South America',
    'North America',
    'Africa',
    'Europe',
    'Antarctica',
    'Australia',
]
# Your code here
for st in continents:
    if st[0] == 'A':
        print(st)

1 Answer