How to split a Python list into equally-sized chunks

preview_player
Показать описание
Use list comprehension to easily divide a list into arbitrarily sized chunks in Python.
Рекомендации по теме