title: How to recognize linefeed when inputted by user as "\n" and eventually replace with a space?
body: <p>If I have a speech, for example, that is being inputted by the user:</p>
  
  <pre><code>speech = input("Enter your speech: ")
  </code></pre>
  
  <p>and if this input is (for example):</p>
  
  <blockquote>
    <p>Hello, welcome to my speech.<br>
    This is my exemplar speech.<br>
    Which I am trying to analyze.</p>
  </blockquote>
  
  <p>But if I were to print(speech), I'd get an output of:</p>
  
  <pre><code>"Hello, welcome to my speech."
  </code></pre>
  
  <p>but not the other 2 lines. How can I recognize the linefeed (\n) and replace it as a space, so my output will be:</p>
  
  <pre><code>"Hello, welcome to my speech. This is my exemplar speech. Which I am trying to analyze."
  </code></pre>