Как разделить список на сублисты Python
[lst[i:i + n] for i in range(0, len(lst), n)]
Stupid Stork
[lst[i:i + n] for i in range(0, len(lst), n)]