Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Just another suggestion:

L = [random_matrix(ZZ,2,2) for k in range(20)]
def list_of_lists(L,ncol):
    return [L[k:k+ncol] for k in range(0,len(L),ncol)]
html.table(list_of_lists(L,5))