write a function that checks if the received string is a palindrome
Anonymous
Leetcode: Is a palidrome question Solution in Python 3: newString = "" for c in s: if c.isalnum(): newString += c.lower() return newString == newString[::-1]
Check out your Company Bowl for anonymous work chats.