map()函数
r = map(lambda x: x*x, [1, 2, 3]) print(list(r)) # r已经计算出来了 #[1, 4, 9]
a=[["12",1], ["13",2], ["14",3], ["15",4]]
a = map(lambda x:[x[0],x[1]+1], a)
print(list(a))
#[['12', 2], ['13', 3], ['14', 4], ['15', 5]]
a = map(lambda x:"%s=%s"%(x,5), a)
a=['01', '02', '03', '04','05', '06', '07', '08', '09']
print(list(a))
# ['01=5', '02=5', '03=5', '04=5', '05=5', '06=5', '07=5', '08=5', '09=5']