Tell us what’s happening:
There may be an error in this task as the objectives say that 0_0 (: /-\ :) 0-0
is a palindrome when it can’t be?
Challenge Information:
Build a Palindrome Checker - Build a Palindrome Checker
There may be an error in this task as the objectives say that 0_0 (: /-\ :) 0-0
is a palindrome when it can’t be?
Build a Palindrome Checker - Build a Palindrome Checker
why do you say that it is not a palindrome?
The exercise states:
Note: You’ll need to remove all non-alphanumeric characters (punctuation, spaces and symbols) and turn everything into the same case (lower or upper case) in order to check for palindromes.
So let’s apply that here to this string and see.
We start out with:
0_0 (: /-\ :) 0-0
0 is a number, so we keep it, but underscore, parenthesis, spaces, colons, dashes and slashes are not so we remove them.
The end result is then: 0000
i forgot about that
although tbf I would’ve been right if that wasn’t the case
that’s exactly why it’s there