Create a gist now

Instantly share code, notes, and snippets.

Embed
What would you like to do?
def function_name (iterable, f):
for x in iterable:
if not f(x): yield x
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment