Uma outra forma usando [`Yield`][1] (extraído [dessa resposta][2]): def chunks(lista, n): for i in range(0, len(lista), n): yield l[i:i + n] l = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14] print(list(chunks(l, 3))) # [[0, 1, 2], [3, 4, 5], [6, 7, 8], [9, 10, 11], [12, 13, 14]] [Ver `demonstração`][3] [1]: https://docs.python.org/3.5/reference/expressions.html#yield-expressions [2]: http://stackoverflow.com/a/312464/1608936 [3]: http://ideone.com/RUo5Dx