title: How to print X items in a list per line
body: <p>Given a list of strings I want to be able to print 4 items of that list per line with one space between them until the list is exhausted. Any ideas? Thanks</p>
  
  <p>Example:</p>
  
  <pre><code>ListA = ['1', '2', '3', '4', '5', '6']
  </code></pre>
  
  <p>Given this list I would like my output to be:</p>
  
  <pre><code>1 2 3 4
  5 6
  </code></pre>