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 trialKate Dougherty
8,334 PointsRepeating 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?
def loopy(items):
# Code goes here
for item in items:
if item[0] == 'a':
continue
print(item)
2 Answers
Steven Parker
231,269 PointsYour code is good.
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
8,334 PointsThanks Steven Parker. The communication has finally seemed to resolve itself.