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 trialKeith Griffin
Courses Plus Student 2,616 PointsI cant seem to figure out this error
sorry, relatively new coder here :/ and I have tried configuring this several different ways but it keeps giving me an error, I'm sure I probably just overlooked something. Any and all help appreciated. thanks, Keith Griffin
def loopy(items):
# Code goes here
for item in items:
if item == "a":
continue
print(item)
1 Answer
Alex Life
16,114 PointsYou need to tell it where to look for the βaβ at. Instructions say the 0 index so [0] needs added in somewhere, Iβll leave that to you! :)
Keith Griffin
Courses Plus Student 2,616 PointsKeith Griffin
Courses Plus Student 2,616 Pointsok I have been going rounds with it for like an hour so I finally enlisted some help, thanks for the quick response :)
Alex Life
16,114 PointsAlex Life
16,114 PointsNo problem, I know programming can get frustrating beyond belief, and really thatβs one of the things I like about it. Python was my intro to programming and it is a lot to take in. My advice is try not to get overwhelmed. And I believe Kenneth says it himself in one course, βerrors are going to happen.. a lot.β