2

I've got a very long list of items, 30K+. I would like to loop through the entire list, but in groups/blocks of 10 or 100s.

So:

for 100items in 30Klist:
    print 100items # list of 100 items from the long list

Is that somehow possible?

user809829
  • 1,179
  • 3
  • 14
  • 33

0 Answers0