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)
![cgeorge](https://secure.gravatar.com/avatar/b0c2147af076fe305301efb1753d23ac?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
cgeorge
5,492 Points, VS + What is the difference
What is the difference between
for c in continents: print ('*',c)
and
for c in continents: print ('*'+ c)
the both have the same output but the challenge says the needed elements of the is aren't found.
1 Answer
![dodders](https://secure.gravatar.com/avatar/c62f39dee0606d20d625aaf90bee4dc3?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
dodders
Python Development Techdegree Graduate 38,679 Points',' automatically adds a space between each element.
'+' does not add a space.
So you need to use either
for c in continents: print ('*',c)
or
for c in continents: print ('* '+ c) (note the added space)
cgeorge
5,492 Pointscgeorge
5,492 PointsThank you! That makes sense.