How can I add two brackets for a sublists of Length 2 ?
Objective:
{{{1, 2}}, {{3, 4}}, {{5, 6}}, {{7, 8}}, {{9, 10}}, {{11, 12}}, {{13, 14}}, {{15, 16}}, {{17, 18}}}
The code I write here only give only 1 bracket for a sublist of length 2
Input:
Partition[Table[i, {i, 18}], 2]
Output:
{{1, 2}, {3, 4}, {5, 6}, {7, 8}, {9, 10}, {11, 12}, {13, 14}, {15, 16}, {17, 18}}

Map[{#} &, Partition[Table[i, {i, 18}], 2]]– Ulrich Neumann Dec 22 '19 at 13:18ArrayReshape[Table[i, {i, 18}], {9, 1, 2}]– Bob Hanlon Dec 22 '19 at 13:33