def getFirstWord(splitLine):
 if (len(splitLine) > 0):
  return splitLine[0]
 return ''

def getFirstWord ( splitLine ) : if ( len ( splitLine ) > 0 ) : return splitLine [ 0 ] return ''
get the first word of a split line .