title: Replacing an entry in a list (sentence.replace())
body: <p>I'm trying to build a text based adventure game.  still in early stages of development, and I'm having a lot of problems with equating a given sentence to directional and or action commands.  here is a snippet of what I have so far. will get the error "list object has no attribute replace":</p>
  
  <pre><code>sentence_parsing = input().split(" ")
  
  travel = ["Move", "move", "MOVE", "Go", "go", "GO", "Travel", "travel", "TRAVEL"]
  command_length = len(sentence_parsing)
  for command in range(command_length):
      for action in range(9):
          if travel[action] == sentence_parsing[command]:
              sentence_parsing = sentence_parsing.replace(travel[action], "1")
  </code></pre>
  
  <p>after applying values to known key words, I need to remove all unknown words, which I think I can do with a similar set of nested loops checking if the original sentence and the modified have matching words then remove if they do. after that I need to make the string number values in the list become integers and multiply them together.  I do have alternative logic built in to correct negation in sentences, but it works perfectly.  Any help would be appreciated</p>