Reputation: 81
If I have lists [1,2,3]
and [4,5,6]
how can I make a list of lists [[1,2,3],[4,5,6]]
?
When I ran a.append(b)
with a = [1,1,1]
and b = [1,2,4]
I got [1, 1, 1, [1, 2, 4]]
I would like [[1,1,1],[2,2,4]]
Upvotes: 0
Views: 64