We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Slicing is the way to go.
def isPalindrome(s): return s == s[::-1]