title: index of second repeated character in a string
body: <p>I am trying a hangman code in python. For matching a character of a word , iam using index function to get the location of character.
  Ex :word = 'COMPUTER'</p>
  
  <pre><code>user_input = raw_input('Enter a character :') # say 'T; is given here
  
  if user_input in word:
                  print "\nThe Character %c is present in the word \n" %user_input 
                  word_dict[word.index(user_input)] = user_input
  
  #so the output will looks like
  
  {0: '_', 1: '_', 2: '_', 3: '_', 4: '_', 5: 'T', 6: '_', 7: '_'} 
  </code></pre>
  
  <p>Now , my problems comes when it comes with the repeated character.</p>
  
  <pre><code># Another example 
  &gt;&gt;&gt; 'CARTOON'.index('O')
  4
  </code></pre>
  
  <p>For the second 'O', how to get its index. since i have used this 'index' logic, i am looking to continue on this way.</p>