For my application scope, I need to concatenate two one-dimension array into one multi-dimension array, both implemented using (eventually nested) lists 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. 
vectA=[124,172,222,272,323,376,426,479,531]
vectB=[440,388,336,289,243,197,156,113,74]
The expected result is a multi-dimension array with the combinations of vectA with all the elements of vectB (cartesian product).
output=[[124,440],[124,388],[124,336],[124,289]...[172,440],[172,388]...]
 
     
     
    