def un_pad(word):
    """
        Removes additional padding from string
    :param word: <string>
    :return: string after removing padding from it <string>
    """
    padding_length = ord(word[len(word) - 1:])
    un_padded_word = word[:-padding_length]
    return un_padded_word