def getIndexOfStartingWithSecond(letter, splitLine):
 for wordIndex in xrange(1, len(splitLine)):
  word = splitLine[wordIndex]
  firstLetter = word[0]
  if (firstLetter == letter):
   return wordIndex
 return (-1)

def getIndexOfStartingWithSecond ( letter , splitLine ) : for wordIndex in xrange ( 1 , len ( splitLine ) ) : word = splitLine [ wordIndex ] firstLetter = word [ 0 ] if ( firstLetter == letter ) : return wordIndex return ( - 1 )
get index of the first occurence of the given letter in the split line .