什么是迭代两个列表和计算的Pythonic方法?
a, b=[1,2,3], [4,5,6] c=[] for i in range(3): c.append(a[i]+b[i]) print(c) [5,7,9]
c没有for循环是否有单线程?
c
python
python ×1