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 trialLuz Maria Valencia Bocanegra
3,463 PointsTask 2 List introducction
Hi I dont know why I keep getting Bummer! for this code, thanks!
def loopy(items):
# Code goes here
if item == 'STOP':
break
print(items)
1 Answer
Jennifer Nordell
Treehouse TeacherHi there! I feel like you were on the right track to begin with, but something happened along the way. So I'm going to give some hints:
- The for loop you wrote in step one is now completely missing
- You should be printing each separate item in items... not items
- Your indentation is off. Everything should be indented inside the function
Hope this helps, but let me know if you're still stuck!