title: Best way to split this list into smaller lists?
body: <p>I've been trying to wrap my head around the best way to split this list of numbers up that are ordered but broken up in sections. Ex:</p>
  
  <pre><code>data = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 29, 30, 31, 32, 33, 35, 36, 44, 45, 46, 47]
  </code></pre>
  
  <p>I'd like the output to be this..</p>
  
  <pre><code>sliced_data = [[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19],[29, 30, 31, 32, 33],[35, 36],[44, 45, 46, 47]]
  </code></pre>
  
  <p>I've been trying a while look until it's empty but that isn't working too well..</p>
  
  <p>Edit:</p>
  
  <pre><code>for each_half_hour in half_hour_blocks:
      if next_number != each_half_hour:
          skippers.append(half_hour_blocks[:next_number])
          del half_hour_blocks[:next_number]
  
      next_number = each_half_hour + 1
  </code></pre>