def is_palindrome(word):
    word = word.lower().replace(" ", "")
    if word == word[::-1]:
        return True
    else:
        return False

def run():
    word = input("Escribe una palabra: ")
    if is_palindrome(word):
        print("Es palíndromo")
    else:
        print("No es palíndromo")

if __name__ == "__main__":
    run()
89e5f7f24e0bf77aee57ff2201b2fe4bf5f6fddb
<mask token>

def is_palindrome(word):
    word = word.lower().replace(' ', '')
    if word == word[::-1]:
        return True
    else:
        return False


<mask token>

def is_palindrome(word):
    word = word.lower().replace(' ', '')
    if word == word[::-1]:
        return True
    else:
        return False


def run():
    word = input('Escribe una palabra: ')
    if is_palindrome(word):
        print('Es palíndromo')
    else:
        print('No es palíndromo')


<mask token>

def is_palindrome(word):
    word = word.lower().replace(' ', '')
    if word == word[::-1]:
        return True
    else:
        return False


def run():
    word = input('Escribe una palabra: ')
    if is_palindrome(word):
        print('Es palíndromo')
    else:
        print('No es palíndromo')


if __name__ == '__main__':
    run()

def is_palindrome(word):
    word = word.lower().replace(" ", "")
    if word == word[::-1]:
        return True
    else:
        return False

def run():
    word = input("Escribe una palabra: ")
    if is_palindrome(word):
        print("Es palíndromo")
    else:
        print("No es palíndromo")

if __name__ == "__main__":
    run()