Welcome to the Treehouse Community
Looking to learn something new?
Debasis Nath3,316 Points
what exactly it is asking?
def loopy(items): items=input(" ") for items in items: print(items) if items=="STOP": break # Code goes here
Henrik ChristensenPython Web Development Techdegree Student 38,319 Points
You need to put the if-statement before printing. Try this:
def loopy(items): # Code goes here for item in items: if item == "STOP": break print(item)