#try to avoid input function a = [1,2,3,4,5] b = [6,7,8,9,10] c = [] for i in range(len(a)): d = [a[i],b[i]] e = sum(d) c.append(e) print(c)
Click the run button. Try to avoid input() function.