Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Splitting a list into sub-list

I have not find the way do do this split A=[1, 2, 3, 4, 6, 8, 2, 7, 9] in such a way to obtaine A=[[1, 2, 3], [4, 6, 8], [2, 7, 9]] --- simply for the len(A)= k len(sublist).

Splitting a list into sub-list

I have not find the way do do this split A=[1, 2, 3, 4, 6, 8, 2, 7, 9] in such a way to obtaine A=[[1, 2, 3], [4, 6, 8], [2, 7, 9]] --- simply for the cazse where len(A)= k len(sublist). .

Splitting a list into sub-list

I have not find the way do do this split A=[1, 2, 3, 4, 6, 8, 2, 7, 9] in such a way to obtaine obtain A=[[1, 2, 3], [4, 6, 8], [2, 7, 9]] --- simply for the cazse where len(A)= k len(sublist).