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 trialMáté Séra
1,070 PointsHey! I think i got this second part right, on the right side it shows just "A" starting continents but won't pass
I get AssertionError: "* Asia' not found in 'Asia\nAfrica\nAntarctica\nAustralia' : Hmm...not finding the correct items in your output" I'm not sure what this is please help someone :)
continents = [
'Asia',
'South America',
'North America',
'Africa',
'Europe',
'Antarctica',
'Australia',
]
for continent in continents:
if continent[0] == "A":
print(continent)
2 Answers
mouseandweb
13,758 PointsHello Máté Séra ,
What you have works on my end, but it does not answer the challenge question. The challenge asks you to print a BULLETED list that will look like:
* Asia
* Africa
* Antarctica
* Australia
but your code will return a non-bulleted list that looks like this:
Asia
Africa
Antarctica
Australia
I think you know what to do now!
Máté Séra
1,070 PointsI tried the bulleted way before but didn't work but i tried again and i got it this time :) must have been a type-o or an indentation mistake. Thank you very much!! :))
mouseandweb
13,758 PointsMáté Séra, you're welcome!