map()会接受一个函数和一个序列,序列中的每一个元素调用函数,返回包含函数返回值的新的列表。
eg:
>>>map(lambda x:x*2,range(9))
[0, 2, 4, 6, 8, 10, 12, 14, 16, 18]