title: Split array of similar numbers
body: <p>Is there a default python function to be able to separate group of numbers without using a conventional loop?</p>
  <pre><code>inputArray=[&quot;slide_0000_00.jpg&quot;, &quot;slide_0000_01.jpg&quot;,&quot;slide_0000_02.jpg&quot;,&quot;slide_0001_01.jpg&quot;,&quot;slide_0001_02.jpg&quot;,&quot;slide_0002_01.jpg&quot;]
  
  resultArray=[[&quot;slide_0000_01.jpg&quot;, &quot;slide_0000_02.jpg&quot;, &quot;slide_0000_03.jpg&quot;],[&quot;slide_0001_01.jpg&quot;, &quot;slide_0001_02.jpg&quot;], [&quot;slide_0002_01.jpg&quot;]]
  </code></pre>