I know this question has been covered many times but my requirement is different.
I have a list like: range(1, 26). I want to divide this list into a fi
range(1, 26)
Hint:
k is number of chunks
n = len(x)/k [x[i:i+n] for i in range(0, len(x), n)]