def cur_word_pop(cur_word):
    """
    This function pops out the last letter of the word
    ---------------------------------------------------
    :param cur_word: (str) current word
    :return: (str) new word
    """
    ans = ''
    for i in range(len(cur_word) - 1):
        ans += cur_word[i]

    return ans