Make an array of arrays with 10 items each : <p>I have an array that has X number of values.</p>

<p>I'm trying to make an array of arrays with 10 items each of X. How do I go on about in doing something like this?</p>

<p>I've tried using a count while iterating it and let's just say I didn't get anywhere with that. </p>

<p>I want something like </p>

<pre class="lang-py prettyprint-override"><code># Random list of 20 items
random_array = [1,...20]

# Do cool things here

# Output after doing cool thing
fancy_array = [[1,...10],[11,..20]]

</code></pre>
