I have a list of tuples:
indices = [ (0,1) , (1,2) , (5,9) , ...]
each tuple represent an index to be used with a list of lists representing a grid.
what I am doing to extract the actual values corresponding to the indices is:
for index in indices:
x = grid [index[0]] [index[1]] # get the value and move on
Is there any better way to achieve this ? maybe something more "pythonic :D "
Thanks