title: How to remove whitespace at specfic position/index of Python string
body: <p>I am trying to remove whitespace at a specific position within a Python string.</p>
  
  <p>For example, I have the following string: <code>time = "Year 1.2 Quarter 4"</code>  </p>
  
  <p>Since I want Quarter to be abbreviated, I replaced the word using this:  </p>
  
  <pre><code>time = time.replace('Quarter','Q')  ##Output: "Year 1.2 Q 4"  
  </code></pre>
  
  <p>However, I would like the result to be this: <code>Year 1.2 Q4</code>.
  How can I remove the whitespace between <code>Q</code> and <code>4</code>?</p>