Split a python list into other “sublists” i.e smaller lists

I have a python list which runs into 1000’s. Something like: data=["I","am","a","python","programmer"…..] where, len(data)= say 1003 I would now like to create a subset of this list (data) by splitting the orginal list into chunks of 100. So, at the end, Id like to have something like: data_chunk1=[…..] #first 100 items of list data data_chunk2=[…..] … Read more