📅  最后修改于: 2022-03-11 14:46:00.623000             🧑  作者: Mango
代码示例2
a = [1, 2, 3, 4]
b = [5, 6, 7, 8]
result = [num1*num2 for num1, num2 in zip(a,b)]
print('Multiplication result is: ', result)