def getFlesch(article):
    sentencelist = getsentences(article)
    sentencesN = len(sentencelist)
    syllablesN = 0
    wordsN = 0
    for sentence in sentencelist:
        wordslist = getwords(sentence)
        wordsN += len(wordslist)
        for word in wordslist:
            word = word.replace('\n', '')
            x = sylco(word)
            syllablesN += x
    '\n    print("Sentences : %i" % sentencesN)\n    print("Words : %i" % wordsN)\n    print("Syllables : %i" % syllablesN)\n    '
    asl = (wordsN / sentencesN)
    asw = (syllablesN / wordsN)
    flesch = ((206.835 - (1.015 * asl)) - (84.6 * asw))
    return flesch
def getFlesch(article):
    sentencelist = getsentences(article)
    sentencesN = len(sentencelist)
    syllablesN = 0
    wordsN = 0
    for sentence in sentencelist:
        wordslist = getwords(sentence)
        wordsN += len(wordslist)
        for word in wordslist:
            word = word.replace('\n', )
            x = sylco(word)
            syllablesN += x
    '\n    print("Sentences : %i" % sentencesN)\n    print("Words : %i" % wordsN)\n    print("Syllables : %i" % syllablesN)\n    '
    asl = (wordsN / sentencesN)
    asw = (syllablesN / wordsN)
    flesch = ((206.835 - (1.015 * asl)) - (84.6 * asw))
    return flesch