Trying to solve the following problem:
I have a large collection which I will represent by the following example list:
lst = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16]
How do I splice up this list and return a sequence of delimited strings for every four elements in the list?
Desired output:
1, 2, 3, 4
5, 6, 7, 8
9, 10, 11, 12
13, 14, 15, 16