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 trialben127127
1,980 PointsIntroducing Lists Challenge
Not sure why this challenge is not accepting my code. The goal is to iterate through the list. I've attached an image of the error message + code output.
continents = [
'Asia',
'South America',
'North America',
'Africa',
'Europe',
'Antarctica',
'Australia',
]
for x in continents:
print(" * ", x)
# Your code here
Thanks for any help.
1 Answer
Steven Parker
231,198 PointsYou don't need spaces around the "bullet" since the system adds one when you do multiple arguments.
If you were using concatenation instead, you'd need only the space after the "bullet".
ben127127
1,980 Pointsben127127
1,980 PointsMakes sense. Thanks!