title: Replace multiple occurrences inside a string in Python
body: <p>I want to replace the following string with an empty string.</p>
  
  <p>I cannot type in my inputs here, for some reason, those symbols are ignored here. Kindly look at the image below. My code produces weird results. Kindly help me out here.</p>
  
  <pre><code>#expected output is "A B C D E"
  
  string = "A&lt;font color=#00FF00&gt; B&lt;font color=#00FFFF&gt; C&lt;font color="#00ff00"&gt; D&lt;font color="#ff0000"&gt; E&lt;i&gt;"
  
  lst = ['&lt;i&gt;','&lt;font color=#00FF00&gt;','&lt;font color=#00FFFF&gt;','&lt;font color="#00ff00"&gt;','&lt;font color="#ff0000"&gt;']
  
  for el in lst:
      string.replace(el,"")
  print string
  </code></pre>