#coding:utf-8 x=[] y=[] z=[] for i in range(10): x.append(i) y.append(i) z.append(i) print(x,y,z) n=list(zip(x,y,z)) print(n) for q in range(len(n)): print(sum(n[q]))
Standard input is empty
[0, 1, 2, 3, 4, 5, 6, 7, 8, 9] [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] [(0, 0, 0), (1, 1, 1), (2, 2, 2), (3, 3, 3), (4, 4, 4), (5, 5, 5), (6, 6, 6), (7, 7, 7), (8, 8, 8), (9, 9, 9)] 0 3 6 9 12 15 18 21 24 27