title: How can I find where a word is located in a sentence using python?
body: <p>How can I find where a word is located in a sentence using python?
  For example the fourth word in the sentence.</p>
  
  <pre><code>sentence = "It's a beautiful world."
  word = "world"
  
  locate_word(word,sentence) = 4
  </code></pre>