def transform(n): return lambda x: x + n