Hi guys!

I’ve found this issue:

Here is my code, I have two lists and a list that contains the two lists (my real lists are more complex but I’m trying to simplify them in order to focus on the main problem)

a=[[1,2,3],[1,4,5]]

b=[[3,5,7,8],[4,5,6,2]]

list=[a,b]

for i in list:

for j in list[i]:

…ecc, ecc…

I got this error message:

in line: “for j in list[i]”

list indices must be integers or slices, not list

I also tryed with

for j in range(len(list[i])

but I received the same message

Any advice?

Thank you in advance!