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 trialZach Janssen
4,179 PointsWhy is this not working?? It's displaying all the continents that begin with the letter "A" ??
Needing an explanation on what I'm doing wrong.. The output is showing all the continents that begin with the letter "A". Thanks in advance
continents = [
'Asia',
'South America',
'North America',
'Africa',
'Europe',
'Antarctica',
'Australia',
]
for continent in continents:
if continent[0] == "A":
print(continent)
# Your code here
1 Answer
Steven Parker
231,269 PointsThe instructions ask you to "Print a bulleted list of each continent ..."
Your output has the right continents, but they are missing the "bullet" (asterisk).