title: Print range of numbers on same line
body: <p>Using python I want to print a range of numbers on the same line. how can I do this using python, I can do it using C by not adding <code>\n</code>, but how can I do it using python.</p>
  
  <pre><code>for x in xrange(1,10):
      print x
  </code></pre>
  
  <p>I am trying to get this result.</p>
  
  <pre><code>1 2 3 4 5 6 7 8 9 10
  </code></pre>