Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
TypeScript
split list into lists of equal length python
Luciano
Programming language:
TypeScript
2021-04-21 13:11:08
0
Q:
split list into lists of equal length python
Simone
Code:
TypeScript
2021-08-11 05:50:32
[lst[i:i + n] for i in range(0, len(lst), n)]
5
Tags
python
list
int
"length
into
Related
looping through two lists python
New to Communities?
Join the community