运维网's Archiver
论坛
›
Python
› python内置函数map/reduce/filter-python中国python培训
ddddddf
发表于 2018-8-5 06:12:39
python内置函数map/reduce/filter-python中国python培训
filter() 函数: filter函数的功能相当于过滤器。调用一个布尔函数bool_func来迭代遍历每个seq中的元素;返回一个使bool_seq返回值为true的元素的序列。
页:
[1]
查看完整版本:
python内置函数map/reduce/filter-python中国python培训