Python Introducing Lists Using Lists Continental

I can't do this code

Can you fix this code

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

1 Answer

Darryl Mah
Darryl Mah
5,446 Points

Aloha!

Your code is solid! The system just wants to see the list and not the print(“continents: ”)

Remove that and you’ll be able to move on :).