功能究竟发生了什么:
lambda x: 10 if x == 6 else 1
我知道一些lambda函数做了什么,但我不习惯看到它们像这样写.我是任何形式的代码的菜鸟.
python lambda
lambda ×1
python ×1