<jupyter_start><jupyter_text>Write a function that determines whether a word is palidrome or not.<jupyter_code>def is_palindrome(word):
  reversed_word = "".join(reversed(word))
  if reversed_word == word:
    return True
  else:
    return False
print(is_palindrome("eadaf"))        
print(is_palindrome("eadae"))
print(is_palindrome("eaae"))    
print(is_palindrome("alejandro"))
print(is_palindrome("caaaaaabaaaaaac"))<jupyter_output>False
True
True
False
True
{'fraction_non_alphanumeric': 0.11663066954643629, 'fraction_numerical': 0.0, 'mean_word_length': 6.483870967741935, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '192097', 'license': 'Apache-2.0', 'n_tokens_mistral': 171, 'n_tokens_neox': 168, 'n_words': 32, 'path': 'is_palindrome.ipynb', 'repo_name': 'aavella77/10-steps-to-become-a-data-scientist', 'size': '463'}