title: How to double a word using python?
body: <p>This is what I have so far </p>
  
  <pre><code>def doubleMirror(source):
    pile=""
    for letter in source:
      pile =letter+pile+letter
    print pile 
  </code></pre>
  
  <p>and that comes out looking like this </p>
  
  <pre><code>&gt;&gt;&gt; doubleMirror("dogs")
  sgoddogs
  </code></pre>
  
  <p>As you can see, the result is just one word mirroring itself, whereas the desired outcome is to have the word repeated and <em>also</em> mirroring itself:</p>
  
  <pre><code>sgodsgoddogsdogs
  </code></pre>