0

I have a list that looks something like this (assume lists are NOT divisible by 3)

[26, 5, 20, 23, 19, 24, 16, 27, 21, 3, 2, 10, 9, 18, 25, 8, 0]

I would like to split the list into 3 lists a,b,c, that are approximately the same length. Is there a convenient way to do this?

jonrsharpe
  • 115,751
  • 26
  • 228
  • 437
Dila
  • 649
  • 1
  • 10

0 Answers0