2 edited tags
1

# List manipulation to select elements

I have a list of data with the following structure:

data = {{1,1, result1}, ..., {i, j, resultij}, ..., {30,30, result3030}}


Namely the first and second elements range from 1 to 30. I would like to make another data list data2 constructed from data such that the first and second elements range instead from 1 to 10, such that:

data2 = {{1,1, result1}, ..., {i, j, resultij}, ..., {10,10, result1010}}


Any help would be appreciated!