If I have a list with 600,000 elements
The list I have is quite complicated, and has nothing to do with sequence or order, but let's use this one with 600,000 elements as an example:
main_list = list(range(0,1200000,2)
and if I want to to create a list that slices the main_list into a new list likes this:
sub_list = [main_list[0:100], main_list[100:200], main_list[200:300], main_list[300:400], ...]
How can I do it?