Python Introducing Lists Using Lists Continental

Mark Nembhard
Mark Nembhard
464 Points

print list of continents error. Asia is missing?

ive printed what looks like a simple list but it keeps coming up with an error over asia which i cannot see.

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

2 Answers

Ken Alger
STAFF
Ken Alger
Treehouse Teacher

Mark:

If you take a look at the challenge question, it is asking for a bulleted list with an asterisk as the bullet character.

Post back if you're still stuck.
Ken

Mark Nembhard
Mark Nembhard
464 Points

Thanks. The sad thing is I already done this challenge. Forgot about the asterisk. Thanks very much

Mark Nembhard
Mark Nembhard
464 Points

Thanks Ken. Could kick myself. Also the following question. I am going back on the videos. I don't seem to see the ones on the method for finding a letter in a list. It is this i believe where the answer lies