title: Python 3D Array Printing Horizontally
body: <p>I am trying to print 3D array of letters horizontally instead of vertically.</p>
  
  <p>I tried iterating through using 3 for loops, but that result prints the letters vertically.</p>
  
  <p>Currently, with the 3 for loops I'm printing this array vertically, but I'd like to have everything side by side for each "board" representation.</p>
  
  <p>My specific array is set up below. This is the result I get when I do print(my_arr) starting with [[], [array((</p>
  
  <pre class="lang-py prettyprint-override"><code># As an example of the 3D array that I have
  letters = [[['a', 'b', 'c'], ['d', 'e', 'f']], [['g', 'h', 'i'], ['j', 'k', 'l']]]
  
  # I'm doing
  for l in letters:
      for ll in l:
          for val in ll:
              print(*val, sep='')
  
  Above 3D array is not the exact representation of the array, but I'm getting:
  
  a b c
  d e f
  g h i
  j k l
  
  but, my expected result is:
  
  a b c g h i
  d e f j k l
  
  I would like to print this in a format similar to 
  a b c g h i
  d e f j k l
  
  [[], [array([[' ', '-', '-', '-', '-', '-', '-', ' '],
         ['|', ' ', ' ', 'o', 'a', 'a', ' ', '|'],
         ['|', ' ', ' ', 'o', ' ', ' ', ' ', '|'],
         ['|', 'x', 'x', 'o', ' ', ' ', ' ', ' '],
         ['|', 'p', 'p', 'p', ' ', ' ', 'q', '|'],
         ['|', ' ', ' ', ' ', ' ', ' ', 'q', '|'],
         ['|', ' ', ' ', ' ', ' ', ' ', 'q', '|'],
         [' ', '-', '-', '-', '-', '-', '-', ' ']], dtype='&lt;U1')], [], [array([[' ', '-', '-', '-', '-', '-', '-', ' '],
         ['|', ' ', ' ', 'o', ' ', 'a', 'a', '|'],
         ['|', ' ', ' ', 'o', ' ', ' ', ' ', '|'],
         ['|', 'x', 'x', 'o', ' ', ' ', ' ', ' '],
         ['|', ' ', 'p', 'p', 'p', ' ', 'q', '|'],
         ['|', ' ', ' ', ' ', ' ', ' ', 'q', '|'],
         ['|', ' ', ' ', ' ', ' ', ' ', 'q', '|'],
         [' ', '-', '-', '-', '-', '-', '-', ' ']], dtype='&lt;U1')]]
  </code></pre>