I have two lists:
list1 = [1, 2, 3]
and
list2 = [a, b, c]
and I want to combine them into 2D list called list3
. List three should basically become [[1][a], [2][b],[3][c]
. (I think that's how it works though I could be mistaken).
I want to be able to print certain parts of list 3 by using "print(list3[x][y])
". Does anyone know how to combine the two lists and define them as list3
?