title: I need to compare two strings and remove characters if they match from string one, python
body: <p>I have two strings so for example:
  <code>string1 = "abcdefga"</code>
  <code>string2 = "acd"</code>
  I need to make string one return with <code>"befga"</code>
  I can replace it but if <code>string1</code> has two of the same characters it gets rid of both so for example my <code>string1</code> keeps returning as <code>"befg</code>":</p>
  
  <pre><code>for char in string1:
      for nike in string2:
          if char == nike:
              string1 = string1.replace(char,"")
  </code></pre>