📜  使用 lambda 在 python 中将两个列表相乘 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:52.716000             🧑  作者: Mango

代码示例2
list1 = [1, 2, 3, 4, 5]
list2 = [6, 5, 4, 3, 3]

Result = []
for i1, i2 in zip(list1, list2):
  Result.append(i1*i2)