title: How to split a list in n sized chunks, where n is an iterable list of integers?
body: <p>I have a list of words and a list of integers 'n'. How do I split the list of words in 'n' sized chunks (uneven)?</p>
  
  <p>e.g.</p>
  
  <pre><code>words = ['apple', 'orange', 'oof', 'banana', 'apple', 'cherries', 'tomato']
  n = ['2', '1', '4']
  </code></pre>
  
  <p>output:</p>
  
  <pre><code>[['apple', 'orange'], ['oof'], ['banana', 'apple', 'cherries', 'tomato']]
  </code></pre>