代码示例:(标识:python_lambda_1)
python_lambda_1.py
x = lambda a : a + 10
print(x(7))
运行结果: