Obert Gwamure

Obert Gwamure

  • NA
  • 5
  • 1.3k

Combinations from n arrays picking one element from each array

Dec 24 2020 7:40 AM
I need help, I have 13 arrays with 3 elements each. My goal is to write a code that prints out all 2 197 different cominations that come from picking one element from each array.
 
The arrays are as follows  [[11, 12, 13], [21, 22, 23], [31, 32, 33], [41, 42, 43], [51, 52, 53], [61, 62, 63], [71, 72, 73], [81, 82, 83], [91, 92, 93], [101, 102, 103], [111, 112, 113], [121, 122, 123], [131, 132, 133] ]
 
The resulta ahould e a list of all the possible cominations.

Answers (1)