- #1
SoggyBottoms
- 59
- 0
I have a nested list of the type:
{{1, 2, 3}, {1, 2, 4}, {1, 1, 2}}
I want to find the number of sublists in which the first two elements are equal, so in this case that's one (the sublist {1, 1, 2}).
Is this possible in Mathematica?
{{1, 2, 3}, {1, 2, 4}, {1, 1, 2}}
I want to find the number of sublists in which the first two elements are equal, so in this case that's one (the sublist {1, 1, 2}).
Is this possible in Mathematica?