DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
python split range into n groups
import numpy x = range(25) l = numpy.array_split(numpy.array(x),6)
PREVIOUS
NEXT
Tagged:
#python
#split
#range
#groups
ADD COMMENT
Topic
COMMENT
Name
6+3 =
Submit