摘要: map函数:映射功能 map(function, iterable, ...):可迭代对象向函数function传入元素,并得到一个返回值. 1 >>> map(lambda x :x+1,[1,2,3.4]) 2 [2, 3, 4.4] 3 >>> map(lambda x :x+"_key",{ 阅读全文
posted @ 2017-04-18 10:50 Great_kyle 阅读(219) 评论(0) 推荐(0) 编辑