title: Add spaces in-between each letter in string, then not have space at the end
body: <p>how would i create a program where you can add spaces in-between each letter in the string and then not have a space at the end?
  this is what i have so far and i can't figure out how to not have the spaces at the end. </p>
  
  <pre><code>def spaceitout(string,amount):
      amountint= int(amount)
      pile= ""
      for char in string:
          pile= pile + char + " "*amount
      print pile 
  </code></pre>