def is_palindrome(word):
  """Checks if a word is a palindrome.

  Args:
    word: The word to check.

  Returns:
    True if the word is a palindrome, False otherwise.
  """

  reversed_word = ""
  for i in range(len(word) - 1, -1, -1):
    reversed_word += word[i]
  return word == reversed_word


def main():
  """Prompts the user to enter a word and then checks if it is a palindrome."""
  print("Hi Everyone University! This program checks if a word is a palindrome.")
  word = input("Enter a word: ")
  if is_palindrome(word):
    print("The word is a palindrome.")
  else:
    print("The word is not a palindrome.")


if __name__ == "__main__":
  main()