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 Python Basics (2015) Shopping List App Continue

Repeating communication error on loopy challenge Task 1

Hi,

I keep getting a communication error when I try to check my code for this task. I tried emailing support. They said to remove the .index() method I had earlier because it could be creating an infinite loop, but I did that and I'm still having problems. Is there anything else wrong with my code?

breaks.py
def loopy(items):
    # Code goes here
    for item in items:
        if item[0] == 'a':
            continue
        print(item)        

2 Answers

Steven Parker
Steven Parker
230,274 Points

Your code is good. :+1:

I'm not sure what may be causing your communication issue, but once you're able to submit it, this code should pass the challenge. Give it another try.

If the communication issue persists, you might try contacting the Support folks.

Thanks Steven Parker. The communication has finally seemed to resolve itself.