Printing 5 numbers in a row
<p>I have to write a program to print the numbers 1 to 50, but with 5 numbers in a row, like:</p>

<p>1,2,3,4,5<br>
6,7,8,9,10 </p>

<p>like that till 50 without using lists</p>

<pre><code>for i in range(2,51):
   if i%5==0:
      print i
</code></pre>

<p>this is giving me 5,10,15,20</p>

<p>Please help me </p>
