demo_lambda_double.py:
def myfunc(n): return lambda a : a * n mydoubler = myfunc(2) print(mydoubler(11))
➜ begtut>python demo_lambda_double.py
22