I would like to convert a list to a matrix so that I can use the .append function the way I need it.
list = ["1", "2", "3"] should become [["1", "2", "3"]].
Then when I use list.append(["4", "5", "6"]) it will become [["1", "2", "3"], ["4", "5", "6"]] instead of ["1", "2", "3", ["4", "5", "6"]].
How can I do this?
list =[ ["1", "2", "3"]], then you can append lists. likelist.append(["4", "5", "6"])which gives you expected resultlist2. Simplylist = [list]and then you can append.