Idiomatic way to print arbitrary number of items from a list on each line
<p>I want to print data from a list, such as:</p>

<pre><code>['0.10', '0.15', '-0.25', '0.30', '1.50', '1.70']
</code></pre>

<p>However, rather than printing one element in the list using something like:</p>

<pre><code>for item in list:
    print item
</code></pre>

<p>I want to print an arbitrary number of items from the list on each line.  I can think of many messy ways to do it and I saw an answer which used the grouper recipe from the itertools page on the docs.  I'm happy to use that, but I suspect there might be a better way of doing it.</p>

<p>An example output I might like would be:</p>

<pre><code>0.10   0.15  -0.25
0.30   1.50   1.70
</code></pre>

<p>Or:</p>

<pre><code>0.10   0.15  -0.25   0.30
1.50   1.70
</code></pre>

<p>So the number of items on each line isn't necessarily a factor of the number of items on the list.  Some lines may end with fewer elements if the list is too short.</p>
