I was wondering if we can print like row-wise in python.
Basically I have a loop which might go on million times and I am printing out some strategic counts in that loop
my_list = ['keyboard', 'mouse', 'led', 'monitor', 'headphones', 'dvd'] for i in xrange(0, len(my_list), 4): print '\t'.join(my_list[i:i+4])