TJ FeledyPro Student 687 Points
I am unsure of what I am doing wrong in Challenge Task 1 of breaks.py.
This is the task where i need to skip the item with an 'a'. It saying that it didnt find the right items printed.
def loopy(items): # Code goes here for stuff in items: print(stuff) if stuff == 'a': continue
Jeffrey James2,635 Points
One way to approach it using "if not". Try to think of a way to do it without the "if not" however :)
In : stuff = ['dogs', 'airplanes', 'boats'] In : for x in stuff: ...: if not x == 'a': ...: print(x) ...: dogs boats