fs = [(lambda n, i=i: i+n) for i in range(10)]
from operator import add from functools import partial fs = [partial(add, i) for i in range(10)]