def getLineWithValueString(character, line, splitLine, valueString):
 roundedValueString = (character + valueString)
 indexOfValue = getIndexOfStartingWithSecond(character, splitLine)
 if (indexOfValue == (-1)):
  return ((line + ' ') + roundedValueString)
 word = splitLine[indexOfValue]
 return line.replace(word, roundedValueString)

def getLineWithValueString ( character , line , splitLine , valueString ) : roundedValueString = ( character + valueString ) indexOfValue = getIndexOfStartingWithSecond ( character , splitLine ) if ( indexOfValue == ( - 1 ) ) : return ( ( line + ' ' ) + roundedValueString ) word = splitLine [ indexOfValue ] return line . replace ( word , roundedValueString )
get the line with a valuestring .