Python Introducing Lists Using Lists Continental

Tapiwa Dzimiri
Tapiwa Dzimiri
713 Points

Assertion Error

Test Results are OK. But the App is telling me that there continents are not in the listing

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

1 Answer

Tatenda Chimonera
Tatenda Chimonera
4,509 Points

Hi try this code.. for continent in continents : if continent[0] == 'A': print("* " + continent)

Tapiwa Dzimiri
Tapiwa Dzimiri
713 Points

Thanks Tats i managed