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

mytripler = myfunc(3)

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