Answers for "How do you divide a list into equal Sublists in Python?"

8

how to divide a list into sublists python

[lst[i:i + n] for i in range(0, len(lst), n)]
Posted by: Guest on March-31-2020

Code answers related to "How do you divide a list into equal Sublists in Python?"

Python Answers by Framework

Browse Popular Code Answers by Language