Python Python Basics (2015) Shopping List App Continue

Helen Brophy
PRO
Helen Brophy
Pro Student 4,200 Points

Please Help, no matter what i try it says it's wrong

Not sure where I'm going wrong with this - I've been over it a number of times and it still tells me I'm wrong. Can someone please take a look and point me in the right direction?

breaks.py
def loopy(items):
    # Code goes here
    for item in items:
        if item [0] =="a":
            continue
    else:
        print(item)

1 Answer

fix your indentation and it will work. everything else is correct

def loopy(items):
    # Code goes here
    for item in items:
        if item [0] =="a":
            continue
        else:
            print(item)