x = [[1, 2, 3], [2, 3, 4]]
y = [1, -1]
list(zip(x, y))
[([1, 2, 3], 1), ([2, 3, 4], -1)]
y = [1, -1]
list(zip(x, y))
[([1, 2, 3], 1), ([2, 3, 4], -1)]
2017-04-04
举报