title: Concatenate two single-dimension list to get one multi-dimensional list
body: <p>For my application scope, I need to concatenate two one-dimension array into one multi-dimension array, both implemented using (eventually nested) <code>list</code>s in Python. The concatenations have to print all the possible combinations between the elements of the first array with the elements of the second array. </p>
  
  <pre><code>vectA=[124,172,222,272,323,376,426,479,531]
  vectB=[440,388,336,289,243,197,156,113,74]
  </code></pre>
  
  <p>The expected result is a multi-dimension array with the combinations of <code>vectA</code> with <strong>all</strong> the elements of <code>vectB</code> (cartesian product).</p>
  
  <pre><code>output=[[124,440],[124,388],[124,336],[124,289]...[172,440],[172,388]...]
  </code></pre>