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

Python Introducing Lists Using Lists Continental

Nicole Buckenwolf
Nicole Buckenwolf
8,718 Points

Clarify instructions for Introducting Lists Python challenge "Continental"

continents.py
continents = [
    'Asia',
    'South America',
    'North America',
    'Africa',
    'Europe',
    'Antarctica',
    'Australia',
]
# Your code here
for continent in continents:
    print("* " + continent)
    if continent[0] == "A":
        print("* " + continent)

I just wanted to point out that the instructions say Important: In each task of this code challenge, the code you write should be added to the code from the previous task.

But if you do that (as I did above) you will get the "bummer" answer - I needed to remove the code that prints the bulleted list of all continents to pass the challenge. Thanks!

1 Answer

Rohald van Merode
seal-mask
STAFF
.a{fill-rule:evenodd;}techdegree
Rohald van Merode
Treehouse Staff

Thanks for sharing Nicole Buckenwolf. That instruction will be there for every multi task coding challenge, I'll bring this up with the team to see if we can change the wording for this challenge 🙂