map() Return an iterator that applies function to every item of iterable, yielding the results 例如: a = map(lambda x:x**2 ,[1,2,3]) print([b for b in a]) 结果: [1, 4, 9] 或者: a = map(lambda x,y:x+y ,[1,2,3],[1,2]) print([b for b in a]) 结果: [2, 4] filter(…