(sentence, index)
return word
:param sentence: str that uses the word in sentence
    :param index:  index of the word to remove and transform
    :return:  str word that changes the extracted adjective to a verb.

    A function takes a `sentence` using the
    vocabulary word, and the `index` of the word once that sentence
    is split apart.  The function should return the extracted
    adjective as a verb.
def adjective_to_verb(sentence, index):
    """

    :param sentence: str that uses the word in sentence
    :param index:  index of the word to remove and transform
    :return:  str word that changes the extracted adjective to a verb.

    A function takes a `sentence` using the
    vocabulary word, and the `index` of the word once that sentence
    is split apart.  The function should return the extracted
    adjective as a verb.
    """

    word = sentence.split()[index]

    if word[-1] == '.':
        word = word[:-1] + 'en'
    else:
        word = word + 'en'

    return word
def adjective_to_verb ( sentence , index ) : word = sentence . split ( ) [ index ] if word [ - 1 ] == '.' : word = word [ : - 1 ] + 'en' else : word = word + 'en' return word