Python Introducing Lists Using Lists Continental

cant get this correct and indentation error, where

why do we say for continent in continents, how does py know singular and plural?

also could you help with the indentation error pl?

continents.py
continents = [
    'Asia',
    'South America',
    'North America',
    'Africa',
    'Europe',
    'Antarctica',
    'Australia',
]
# Your code here

for continent in continents:
    if ("A") in continent: 
        print("* " + continent)

2 Answers

ok, position of the letters get that, but we haven't done arrays yet

KRIS NIKOLAISEN
PRO
KRIS NIKOLAISEN
Pro Student 43,291 Points

Python doesn't know the singular and plural for continent but humans do. The variable name could be almost anything. For the second part of the challenge you'll want to check that the continent begins with A. For this you can treat continent like an array where the position of individual letters are accessed by an index ex: continent[i]

I get what you mean "Kris", well noted