title: String won't appear on one line in python
body: <p>I need to print a line from a a novel and then alphabetize the separate words contained in that line.  I have done that but the line and then the alphabetized words are supposed to print on one line each.  My code does not print on 2 lines.  My output is 6 lines.</p>
  <pre><code>    def problem4_1(wordlist):
      &quot;&quot;&quot; Takes a word list prints it, sorts it, and prints the sorted list &quot;&quot;&quot;
  
      firstline = [&quot;Happy&quot;, &quot;families&quot;, &quot;are&quot;, &quot;all&quot;, &quot;alike;&quot;, &quot;every&quot;,
      &quot;unhappy&quot;, &quot;family&quot;, &quot;is&quot;, &quot;unhappy&quot;, &quot;in&quot;, &quot;its&quot;, &quot;own&quot;,
      &quot;way.&quot;, &quot;Leo Tolstoy&quot;, &quot;Anna Karenina&quot;]
  
       print(firstline, end='\n')
       firstline.sort(key=str.lower)
       print(firstline, end='\n')
  </code></pre>