Consider the following list comprehension
[ (x,f(x)) for x in iterable if f(x) ]
This filters the iterable based a condition f and
f
Map and Zip ?
fnRes = map(f, iterable) [(x,fx) for x,fx in zip(iterable, fnRes) if fx)]