9951 explained code solutions for 126 technologies


pythonHow to access list inside other list


list = [[1, 2, 3], [3, 4, 5]]
print(list[1][2])ctrl + c
list

example list with nested lists

list[1][2]

will access third element (index 2) of second nested list (index 1)