WOLFRAM|DEMONSTRATIONS PROJECT

Partitioning a List

​
length of list
10
block size
3
offset
1
left overhang
1
right overhang
-1
padding
cyclic
x
{x,y}
none
include labels
Partition[Range[10],3,1,{1,-1}]
The Mathematica function
Partition
is a highly flexible way of splitting a list into parts. Use this Demonstration to see what some of its parameters can do.