Python list--> Filter , Map , Reduce 使用笔记 (lambda )
1#-*-coding:utf-8-*foo=[2,18,9,22,17,24,8,12,27]##filter(function,sequence)returnsasequenceconsistingofthose#itemsfromthesequenceforwhichfunction(item)istrue.#Ifsequenceisastr,unicodeortuple,theresult