demo_lambda_double.py:
def myfunc(n): return lambda a : a * n mydoubler = myfunc(2) print(mydoubler(11))
C:\Users\My Name>python demo_lambda_double.py
22