title: How would copy something in python?
body: <p>I would take the user's input and scale an image by the number they give me, for example when they say 2, the original image is </p>
  
  <pre><code>hph
  pph
  h p
  </code></pre>
  
  <p>and after the image is scaled, it would become</p>
  
  <pre><code>hhpphh
  hhpphh
  pppphh
  pppphh
  hh  pp
  hh  pp
  </code></pre>
  
  <p>What functions could I use to do this? Help would be greatly appreciated!</p>