最佳的方式是將列表轉換成Python中的科學計算包numpy包的array類型,再進行加減。
import numpy as np
a = np.array([1,2,3,4])
b = np.array([7,8,9,10])
s = a + b