I have multiple lists like below
x = []
a = [1, 2, 3]
b = [4, 5, 5]
I am trying to append a and b to x and get a result like below
print(x)
#[[1, 2, 3], [4, 5, 6]]
But I have no idea how to do this task. Append or other things just makes it like [1, 2, 3, 4, 5, 6] which i don't want to. Is there any methods in python for that or should I use some other packages?