Python Introducing Lists Using Lists Continental

Botshelo Tsogo Tiroyamodimo
Botshelo Tsogo Tiroyamodimo
3,055 Points

Receiving an Assertion error but my input and output are correct. Help

What did i do wrong in my for loop
continents = [
    'South America',
    'North America',
for continent in continents:
    print('* ', continent)

1 Answer

53,693 Points

Using print with a comma adds a space so you have two spaces between the bullet and continent name. Remove the space and you should be good:

print('*', continent)