@@ -0,0 +1,573 @@
+def isPalindrome(s):%0A    %22%22%22%0A    Assumes s is a string, returns true if string is a palindrome%0A    %22%22%22%0A    def toAlpha(s):%0A        s = s.lower()%0A        letters = ''%0A        for c in s:%0A            if c in 'abcdefghijklmnopqrstuvwxyz':%0A                letters += c%0A        return letters%0A%0A    def isPalindrome(s):%0A        if len(s) %3C= 1:%0A            return True%0A        else:%0A            answer = s%5B0%5D == s%5B-1%5D and isPalindrome(s%5B1:-1%5D)%0A            return answer%0A    return isPalindrome(toAlpha(s))%0A%0Aprint(isPalindrome('yo')) # =%3E False%0Aprint(isPalindrome('yoy')) # =%3E True

Create palindrome.py