Palindrome

Mon 21 July 2025
# created :20250629
# own code
text = input("Enter text: ")
if text == text[::-1]:
    print("It is a palindrome")
else:
    print("It is not a palindrome")

Score: 0

Category: basics