title: Python - How to find out how many times the user said the word "the" or "The"
body: <pre><code>sentence2 = raw_input("Enter the sentence on the StringLab3 WS: ")
  
  sentence.split(sentence2)
  for word in default_sentence:
      if word == (chr(84)+chr(104)+chr(101)) or (chr(116)+chr(104)+chr(101)):
          words += 1
  
  print "The amounf of times 'the' or 'The' appear is a total of", words, "times."
  </code></pre>
  
  <p>This is what I have now, the output is currently 961 for the sentence: </p>
  
  <p>This is a day of national consecration. And I am certain that on this day my fellow Americans expect that on my induction into the Presidency, I will address them with a candor and a decision which the present situation of our people impels. This is preeminently the time to speak the truth, the whole truth, frankly and boldly. Nor need we shrink from honestly facing conditions in our country today. This great Nation will endure, as it has endured, will revive and will prosper. So, first of all, let me assert my firm belief that the only thing we have to fear is fear itself, nameless, unreasoning, unjustified terror which paralyzes needed efforts to convert retreat into advance. In every dark hour of our national life, a leadership of frankness and of vigor has met with that understanding and support of the people themselves which is essential to victory. And I am convinced that you will again give that support to leadership in these critical days. </p>
  
  <p>We're supposed to have the user input this. Any advice?</p>