# With the lambda keyword, small anonymous functions can be created. def make_incrementor(n): return lambda x: x + nf = make_incrementor(42)print f(0)print f(1)