List comprehension同时迭代两个变量

Ign*_*asi 3 python python-2.7 python-3.x

是否有可能使用列表推导来迭代两个变量同时增加两个循环的位置.见下面的例子:

a = [1,2,3,4,5]

b = [6,7,8,9,10]

c = [i+j for i in a for j in b] # This works but the output is not what it would be expected.
Run Code Online (Sandbox Code Playgroud)

预期输出是c = [7, 9, 11, 13, 15](来自b的第n个元素的第n个元素)

谢谢.

小智 8

a = [1,2,3,4,5]
b = [6,7,8,9,10]

c = map(sum, zip(a, b))
print c

#Output
[7, 9, 11, 13, 15]
Run Code Online (Sandbox Code Playgroud)