title: Python - How to append double quotes to a string and store as new string?
body: <p>I am using Python 2.6+ and would like to append double quotes to a string and store it as a new string variable. I do not want to print it but use it later in my python script. </p>
  
  <p>For example:</p>
  
  <pre><code>a = 'apple'
  b = some_function(a) --&gt; b would be equal to '"apple"'
  </code></pre>
  
  <p>How can I do this? All the solutions that I have looked at so far only work when printing the string.</p>