类似java中的lambda表达式和stream处理方法。不再赘述。 具体使用方法如下: 1、map(处理方法,可迭代对象) #map是映射 result = map(lambda x: x*x, range(1, 11)) print(type(result)