0

I have a Python list, that has several thousands of entries, and I want to break it down into the list of lists, each of them containing a thousand of elements, and last element contains the rest. Say, I have 5932 entries, and i want to get 5 lists of 1000 entries and a list of 932 elements. How do I do that?

ventisk1ze
  • 51
  • 1
  • 6

0 Answers0