Last active
August 9, 2016 08:13
-
-
Save brettfreer/ac9157f31ea9d06c92ef138ef34f0b3b to your computer and use it in GitHub Desktop.
Test whether string is a palendrome
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def isPalendrome(s): | |
return s == s[::-1] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment