Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
1-liner solution in Clear category for Chunk by Stensen
chunking_by = lambda items, size: [items[i:i+size] for i in range(0, len(items), size)]
Oct. 24, 2020