Step-by-step solution for Palindrome Two
View the challenge

This challenge requires you to determine if a string is a palindrome. A palindrome is a string that is read the same forwards as it is backwards, for example "mom" or "eye." This challenge, as opposed to the easier palindrome challenge on Coderbyte, may contains punctuation and spaces which makes it slightly harder. To solve this challenge, we'll need to use some code that we wrote in a previous solution which required us to reverse a string. We'll also need to strip away all punctuation and spaces because we don't need these symbols when comparing the string with its backwards version.



You need to be a member to see the rest of this solution and code.