Python Python Basics (2015) Shopping List App Continue

Kate Dougherty
Kate Dougherty
8,334 Points

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
162,979 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.

Kate Dougherty
Kate Dougherty
8,334 Points

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