What should be the correct way of writing this List Comprehension for calculating the value for result?
nothing = [0,0,0,0,0,0]
box = [1,2]
boxes = [box,box,box]
page = [boxes,boxes]
pages = [page, page]
npr = [nothing, pages]
**result = [box for box in npr.pages[i].boxes] where i is the counter variable**
P.S. This is pseudocode.