Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial![](https://ecs-static.teamtreehouse.com/assets/views/marketing/shared/community-banner-white-47072046c51352fe6a69f5e691ff5700b28bb11d45197d7bdf066d9ea3f72d0c.webp)
![Ethan Pyles](https://secure.gravatar.com/avatar/40798e0cc9ee42ff6db1574f85fcdf81?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Ethan Pyles
2,710 Pointscontinents.py help: I am not sure what is expected in output. Only Asia and South America?
I have even tried: my_list = continents[0] to just print Asia
I get bummer * Asia is not shown and my output is like this * Asia/n
continents = [
'Asia',
'South America',
'North America',
'Africa',
'Europe',
'Antarctica',
'Australia',
]
# Your code here
continents = continents.pop(0)
for continent in continents.pop(0):
print ("* ",continent)
3 Answers
![Steven Parker](https://uploads.teamtreehouse.com/production/profile-photos/969492/micro_tool_chess_set_2.jpg)
Steven Parker
230,688 PointsYou won't need to "pop" anything in this challenge, as Anthony observed.
And when you fix that, the challenge is expecting only one space between the "bullet" and the name, so if you use two arguments you can skip the space. Or you can leave the space and use concatenation.
ā ā "print("*", continent)
" ā or ā "print("* " + continent)
"
![Ethan Pyles](https://secure.gravatar.com/avatar/40798e0cc9ee42ff6db1574f85fcdf81?s=60&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Ethan Pyles
2,710 PointsAgree: Simply can't understand what the error is describing to me below. In the for loop the new lin character seems to be evidnet.
for continent in continents: print ("* ", continent)
Bummer: AssertionError: '* Asia' not found in '* Asia\n* South America\n* North America\n* Africa\n* Europe\n* Antarctica\n* Australia' : Hmm...not finding the correct items in your output
![Steven Parker](https://uploads.teamtreehouse.com/production/profile-photos/969492/micro_tool_chess_set_2.jpg)
Steven Parker
230,688 PointsYou still have an extra space. Either remove the space from the string or change the comma into a + (as in the two examples I show above_.
![Anthony Reinosa](https://secure.gravatar.com/avatar/49defbc271c568ddb57fdb614443e338?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Anthony Reinosa
4,499 Pointshint* the problem is in the print statement. Look into using a separator to get rid of the \n
![Ethan Pyles](https://secure.gravatar.com/avatar/40798e0cc9ee42ff6db1574f85fcdf81?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Ethan Pyles
2,710 PointsI am a bit surprised that this formatting was required in the exercise. I did not remember covering this in the video.
for continent in continents: print ("* ", continent, sep ="")
Anthony Reinosa
4,499 PointsAnthony Reinosa
4,499 PointsThe output is looking for a bulleted list of the continents. I'm not sure what you are trying to do with pop. You are on the right track but I don't think you need to pop anything it only wants you to print each item.