I have a list of numbers which are the output data of an OCR operation. There are 40 intergers, I want to print them in the form of a matrix(8x5). Can any one please help me how to do this in Python 2.7? I dont want to enter the elements manually.. the list of elements are being generated using for loops, i just want to display them in the form of 8x5 matrix.
thank you