title: Add double quotes to string in python
body: <p>If my input text is</p>
  
  <pre><code>a
  b
  c
  d
  e
  f
  g
  </code></pre>
  
  <p>and I want my output text to be: (with the double quotes)</p>
  
  <pre><code>"a b c d e f g"
  </code></pre>
  
  <p>Where do I go after this step:</p>
  
  <pre><code>" ".join([a.strip() for a in b.split("\n") if a])
  </code></pre>