# lambda,filter,map,reduce from functools import reduce print('返回一个迭代器') print((x) for x in range(5)) print('迭代器转换为tuple') print(tuple((x) for x in range(5))) print('.......') print('匿名函数lambda传参方式一') print((lambda x, y: x+y)(1, 2)) print((lambda x:…