Friends,<br>While iterating through each list item and printing/writing it, why does the sq. brackets get printed/written to the file. Just a small eg.code is given below. <br><br>>>>N=100<br>>>> myl=range(1,100+1)<br>
>>> new=[myl[i:i+15] for i in range(0, len(myl),15)]<br>>>> for x in new: print x<br><br>Thanks,<br>Bala<br><br><br><br>