代码示例:(标识:python_lambda_double)
python_lambda_double.py
def myfunc(n):
  return lambda a : a * n

mydoubler = myfunc(2)

print(mydoubler(11))
运行结果: