匿名函数 和 map()函数 b=[1,2,3] a = [10,20,30] lt = list(zip(b,a)) print(lt) # [(1, 10), (2, 20), (3, 30)] mp = map(lambda x_w: x_w[0]*x_w[1], lt ) print(type(mp)) # <class 'map'> print(mp) # <map object at 0x0000028440097CF8> lt = list(mp) print(type(lt)) # <class 'list'> print(lt) # [10, 40, 90]