(word)
return word
:param word: str of word to remove suffix from.
    :return: str of word with suffix removed & spelling adjusted.

    This function takes in a word and returns the base word with `ness` removed.
def remove_suffix_ness(word):
    """

    :param word: str of word to remove suffix from.
    :return: str of word with suffix removed & spelling adjusted.

    This function takes in a word and returns the base word with `ness` removed.
    """

    word = word[:-4]
    if word[-1] == 'i':
        word = word[:-1] + 'y'

    return word
def remove_suffix_ness ( word ) : word = word [ : - 4 ] if word [ - 1 ] == 'i' : word = word [ : - 1 ] + 'y' return word