title: How to check if a word is in a list and if it exists in an item of the list then get the index number of the item
body: <p>I have a list called A</p>
  
  <pre><code>A = ["How are you","I am good","What are you doing?"]
  </code></pre>
  
  <p>I want to search for a word "good" and if it is found in the list then i want to get the item's index number in which the word has been found.</p>
  
  <p>Desired output:</p>
  
  <pre><code>A = ["How are you","I am good","What are you doing?"]
  
  B = "good"
  </code></pre>
  
  <p>Result =></p>
  
  <p>"good" word was found in list A[1] </p>
  
  <p>i want to get the index number of the list's item in which the word was found.</p>