myString = "aba" if myString == myString[::-1]: print("The string '" + myString + "' is a palindrome") else: print("The string '" + myString + "' is not a palindrome")