📜  python array find lambda - Python 代码示例
📅  最后修改于: 2022-03-11 14:46:38.736000             🧑  作者: Mango
代码示例1
lst = [1,2,3,4]
filter(lambda x: x % 2 == 0, lst)
[x for x in lst if x %2 == 0]
#[2,4]