def reverse_word(word):
    """
    description: reverse the characters in a word
    input:
        'word': the word to be reversed
    output:
        the reversed word
    """

    i = len(word)

    reversed_word = ""

    while i > 0:
        reversed_word += word[i-1]
        i = i-1

    return reversed_word