def foo(xs): for x in xs: if not x: continue