input: Write a python function to check if a word is a palindrome.
  assert palindrome("radar") == True
  assert palindrome("python") == False
  assert palindrome("level") == True
  assert palindrome("hello") == False
output: def palindrome(word):
      return word == word[::-1]