Python Introducing Lists Using Lists Continental

Print a bulleted list of each continent from the continents list

i'm stuck here someone help

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

1 Answer

Steven Parker
Steven Parker
203,219 Points

You're close. I see two issues:

  • the instructions didn't ask for a heading, leave that line out
  • you need to add a space between the "bullet" and the name

Thanks Steven