writes the sentence in a block to a file with the id

def _writeSentenceInBlock(sentence, blockID, sentenceID):
    '''writes the sentence in a block to a file with the id'''
    with open("sentenceIDs.txt", "a") as fp:
        fp.write("sentenceID: "+str(blockID)+"_"+str(sentenceID)+"\n")
        fp.write("sentence string: "+sentence+"\n")
        fp.write("\n")