a = [
1
,
2
,
3
,
4
] b = [
0.2
,
0.5
,
0.7
,
0.1
] [i+j
for
i, j
in
zip
(a, b)]
# [1.2, 2.5, 3.7, 4.1]