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 trialMetakie Nakanyala
1,655 Pointsplease explain
Can Someone please explain to me what exactly this question means i can not seem to understand it... please
continents = [
'Asia',
'South America',
'North America',
'Africa',
'Europe',
'Antarctica',
'Australia',
]
# Your code here
for continent in continents:
print("*" + continent)
2 Answers
Pedro Cabral
33,586 PointsI think you have a good understanding of the question, as you managed to code a solution that's quite close to the real answer.
At the moment your output looks this:
*Asia
*South America
*North America
*Africa
*Europe
*Antarctica
*Australia
When it should look like this:
* Asia
* South America
* North America
* Africa
* Europe
* Antarctica
* Australia
Notice the missing space, between the asterisk and the country.
Metakie Nakanyala
1,655 PointsThank you...I get it now🤦