def f(x): return x, x + 1 for a in b, c: f(a)