Re: Format the ouput in my python code

2011-11-21 Thread Dave Angel
On 11/21/2011 09:27 AM, Dave Angel wrote: On 11/21/2011 07:13 AM, sl33k wrote: I am printing the numbers from 1 to 100. In that, I want to display multiples of 3,5 and of both as mulof3, mul0f5 and mulof3and5 respectively. I am getting the output I want but I would like to format the output t

Re: Format the ouput in my python code

2011-11-21 Thread Dave Angel
On 11/21/2011 07:13 AM, sl33k wrote: I am printing the numbers from 1 to 100. In that, I want to display multiples of 3,5 and of both as mulof3, mul0f5 and mulof3and5 respectively. I am getting the output I want but I would like to format the output to print only 10 number per line. How do I g

Format the ouput in my python code

2011-11-21 Thread sl33k
I am printing the numbers from 1 to 100. In that, I want to display multiples of 3,5 and of both as mulof3, mul0f5 and mulof3and5 respectively. I am getting the output I want but I would like to format the output to print only 10 number per line. How do I go about doing this? for i in range(1, 1