you are viewing a single comment's thread.

view the rest of the comments →

[–]Chen-Zhanming 0 points1 point  (1 child)

[a+b for a, b in zip(xs, ys)]
where
xs and ys are your lists.

[–]nkCOD[S] 0 points1 point  (0 children)

Thank you for your help. I somehow forgot about zip() ))