python中的map, filter, reduce, zip函数
# some curious function(map, filter, reduce, zip) applied to sequence in Python'''map map,操作 sequence中的每一个元素map(function, list) python 2. 中返回list,python 3. 需加list()转换'''l1 = [1,2,3,4,5]l2 = [6,7,8,9,...
原创
2018-07-06 15:58:41 ·
572 阅读 ·
0 评论