title: Program to Remove Letters Keeps Printing Previous Output
body: <p>I have been working on a program that prompts the user to enter a word and a letter they want to remove. The process works the first time and does what it needs to properly, printing the new word with the removed letter. Yet the second time around when I try entering another letter, it prints the previous word with the removed letter, as well as the latest. </p>
  
  <p>For example, if I entered <code>"hello"</code> and said I wanted to remove an "e", it would print <code>"hllo"</code>. The second time, if I said remove an "o", it for some odd reason prints <code>"hllohll"</code> --the last three letters are correct, but I don't want the previous word. It then goes on to ruin the code processing for the rest of the rounds too. </p>
  
  <p>Does anyone know why this is happening and how I should resolve it? </p>
  
  <p>Here's my code so far: </p>
  
  <pre><code>new_word = ""
  removed_letter = ""
  
  word = str(input("Please enter a word: "))
  
  while removed_letter != "done":
      removed_letter = str(input("\nWhich letter do you want to see removed? (done to exit): "))
      for num in range(len(word)):
          if word[num] == removed_letter:
              new_word += ""
  
          else:
              new_word += word[num]
      print(new_word)
      word = ""
      word = new_word
  </code></pre>