title: getting error while using count in string "BANANA" to find "ANA" as substring using str.count() inbuild function of python
body: <p>when executing the command in python </p>
  
  <pre><code>str="BANANA"
  print(str.count("ANA"))
  </code></pre>
  
  <p>give answer as 1.</p>
  
  <p>but real answer would be 2. how to solve this</p>