Python Introducing Lists Using Lists Continental

Matte Matt
Matte Matt
2,354 Points

How to print without newline?

I think it's not working because python keeps adding "\n" after each item, How do I fix this? Because otherwise, it seems to work fine.

EDIT: I've also tried adding: end=" " onto the end of the print statement, this still doesn't work.
continents = [
    'South America',
    'North America',
# Your code here

for i in continents:
    print("* ", i)

1 Answer