title: How to create list of lists after every nth item
body: <p>In python how can I create a list of lists after every 5th item?</p>
  
  <pre><code>my_list = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z']
  </code></pre>
  
  <p>Expected output:</p>
  
  <pre><code>new_list = [['a', 'b', 'c', 'd', 'e'], ['f', 'g', 'h', 'i', 'j']....]
  </code></pre>