Untitled
Anonymous
python
06/06/2024 5:42 AM
308 B
15
Indexable
if __name__ == '__main__':
word = input("Please enter a word: ")
reverse_word = word[::-1]
if word == reverse_word:
print("This is a Palindrome")
else:
print("This is not a Palindrome")
Editor is loading...
Leave a Comment