Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- M = int(input())
- C = M*(eval('[' + input() + ']')) #ex : M = 2
- [1,2,3]
- [4,3,5]
- C = list(zip(C[1]) #juntaria os valores da posição 2 das duas listas [2,3]
- sum_1 = sum(i for i in C[1]) #resultaria em 5
Add Comment
Please, Sign In to add comment