I looked around and could not find anything this specific, so here goes:
I have a list of lists:
S = [[3,4],[6,7],[10,12]]
and I would like to add the 0th index of the ith index element and on to the end of another list:
R = [5,6,7]
Normally with a 1D list I could say:
R = R + S[i:]
and take all of the elements from the ith index on, but I want the 0th index of the ith index of a 2D S. If we started at i = 1 I would end up with:
R = [5,6,7,6,10]
Also, I don't want to use for loops I want a list slice method that will work (if there is one) because it needs to be within a certain bound.