title: how to remove a space from a line
body: <p>My program is printing an extra space after every line. I want to remove the extra space from end of each line.</p>
  
  <pre><code>x, y = map(int, input().split())
  count = 0
  while count &lt; (y//x):
      start = count*x + 1
      end = (count + 1) * x + 1
      for i in range(start,end,1):
          print(i,end=" ")
      print("")
      count+=1
  </code></pre>
  
  <p><strong> Input: </strong> 3 99 <br></p>
  
  <p><strong> Output: </strong></p>
  
  <pre><code>1 2 3 
  4 5 6
  7 8 9
  .....
  </code></pre>
  
  <p>After end of the each line I am printing an extra space, How can I remove this space?</p>