import string s = input() s = s.lower() s = ''.join(ch for ch in s if ch.isalnum()) if s == s[::-1]: print("True") else: print("False")
To embed this project on your website, copy the following code and paste it into your website's HTML: