def is_palindrome(word):
    for i in range(len(word) // 2):
        if word[i] != word[len(word) - 1 - i]:
            return False
    return True

word = input()
print(is_palindrome(word))

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: