Welcome to the Treehouse Community
Looking to learn something new?
let me know my mistake
def loopy(items): for i in items: print(i) if items == "STOP": break # Code goes here
Steven Parker221,323 Points
It's the test item and statement order.
You can't compare an entire list to "STOP", but you could test each individual item. Also, if you want the program to end before it prints out "STOP", you need to have the test and break lines before the print.