to split List Into Chunks in Python just Use list comprehension. By using list comprehension you can split a list into the chunks. Here first of all you have to make a list which you want to split. Then use for loop with len function and add the number which you want to make the length of chunk. So lets learn this by given below example. I hope you like it. mylist = ['1','2','3','4','5','6','7','8','9','10','11','12','13','14','15'] n=3 output=[mylist[i:i + n] for i in range(0, len(mylist), n)] print(output) Output : [['1', '2', '3'], ['4', '5', '6'], ['7', '8', '9'], ['10', '11', '12'], ['13', '14', '15']]