title: How can i create a list (new) from an existing list where items of list(new) will be list in python
body: <p>I have a list like the following:</p>
  
  <pre><code>original_list = ['a', 'b', 'c', 'd', 'e', 'f', 'g'] 
  </code></pre>
  
  <p>And my desired output is: </p>
  
  <pre><code>result = [['a', 'b'], ['c', 'd'], ['e', 'f'], ['g']]
  </code></pre>
  
  <p>Here, the items of 'result' will be each one list of two items from the original_list.  so if the total no of items in original_list is 8 then it will give like the following: </p>
  
  <pre><code>original_list = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h'] 
  </code></pre>
  
  <p>And my desired output is: </p>
  
  <pre><code>result = [['a', 'b'], ['c', 'd'], ['e', 'f'], ['g', 'h']]
  </code></pre>
  
  <p>I tried to solve that using 2 dimensional matrix but its not working as the elements of the original_list is sometimes even and odd.</p>
  
  <p>any suggestion how can i follow?</p>