title: printing a string backward
body: <p>I'm trying to write a piece of code that reverses strings around. So far it works but there are spaces between every character in the string and it says none before and after the printed result. What could I do to fix this? </p>
  
  <pre><code>def reverse(text):
      length = len(text)
      while length &gt; 0:
          print text[length - 1],
          length -= 1
  </code></pre>