Python 高阶函数 - zhongjiajie/zhongjiajie.github.com GitHub Wiki

Python-高阶函数

map

map(func, *iterables) --> map object

Make an iterator that computes the function using arguments from
each of the iterables.  Stops when the shortest iterable is exhausted.
Methods defined here:

注意: map返回的是一个迭代器,所以遍历一次值就全部没有了

reduce

filter

lamda

⚠️ **GitHub.com Fallback** ⚠️