title: Count the number of times a string appears in the reverse position of the string
body: <p>I am trying to figure out a way that you can count how many times a letter appears in the exact opposite position. For example:</p>
  <p>word = 'ABXCEEVHBA' --&gt; The correct output give me 3 because A is first and last. B is second and second from last and so forth.</p>
  <p>I have found an answer that gives me the correct result but I was wondering if there is a more elegant way to do this ideally with no modules.</p>
  <pre><code>word = 'ABXCEEVHBA'
  reverse = ''.join(reversed(word))
  
  sum =0
  for i in range(len(word)):
      if word[i]==reverse[i]:
          sum+=1
  
  print(int(sum/2))
  
  </code></pre>