I would like to write something in LaTeX, where I need nested lists. It should be displayed like this:
segment = [
[ [0,1,0],[1,1,1],[0,1,0] ]
[ [1,1,1],[1,1,1],[1,1,1] ]
[ [0,0,1],[1,0,0],[0,0,0] ]
]
How can I do this in LaTeX?