Question: How do I translate the following Mathematica code into Maple code?

I am trying to translate the following Mathematica code into Maple, but am having a lot of difficulties finding the equivalent commands.  Could you please help?

Table[ Partition[ Take[ Flatten[ t ], {k, 3*Length[ t ], 3} ], cols ], {k, 1,3} ]

Note: t,k, and cols are all variables

Please Wait...