How to group the elements of my list? : <p>i had a list: </p>

<pre><code>    list = ['a', 'b', 'c', 'd', 'e', 'f']
</code></pre>

<p>how would I go about converting this list to:</p>

<pre><code>    list = ['ab', 'cd', 'ef']
</code></pre>

<p>Thanks in advance!</p>
