Python Introducing Lists Using Lists Continental

hello, i need help in creating bullets in a list.

the question requires me to print bulleted list onto an existing list.

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

print("List_countries: {}".format(continents[0]))

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

1 Answer

KRIS NIKOLAISEN
PRO
KRIS NIKOLAISEN
Pro Student 48,677 Points

Probably just a typo but continent should be singular here:

for continent in continents: 

and your bullets are good in using the asterisk but you'll want to include a space just after.

 print("* " + continent)