# skipping an item inside a loop in animation nodes

I'm adding items into a list using a loop, but in some cases a condition is met inside this loop that should skip that element into adding it to the list. How can this be done in AN? I've tried the loop break output but that just stops the iteration completely. I checked some python expressions and tried the passstatement but I keep getting syntax errors.

Any help? thanks