我是小瘦子哟
python filter
阅读 97
2023-01-16
a = [1, 2, 3, 4, 5, 6]b = filter(lambda x: x % 2 == 1, a)print(list(b))
[1, 3, 5]
相关推荐
认真的老去
Python filter()
早安地球
Python filter 和map
小黑Neo
python内置函数filter()
有态度的萌狮子
python filter()和map()
高子歌
python之过滤函数filter
腊梅5朵
python 多条件 orm filter
滚过红尘说红尘
python--sorted、filter、map
蓝莲听雨
python3 filter函数
elvinyang
Python高阶函数Map、Filter、Reduce
扶摇_hyber
Python内置函数filter和map
精彩评论(0)