C
C Gillespie
Dear All,
If I have a list, say
x=[1,2,3,4,5,6]
What's the best way of converting it into this: [[1, 2], [3, 4], [5, 6]],
i.e. splitting it into pairs.
Many thanks
Colin
If I have a list, say
x=[1,2,3,4,5,6]
What's the best way of converting it into this: [[1, 2], [3, 4], [5, 6]],
i.e. splitting it into pairs.
Many thanks
Colin