Problem scenario
You want to write a Python that will test if a string is a palindrome with two other requirements. One requirement is to not use a “::” (a colon pair) in the code. The second requirement is to search for a substring that is a palindrome if the full string is not a palindrome. This substring is not any substring however: it must include the leftmost character.
…
Continue reading “Using Python How Do You Write a Palindrome Tester with Special Requirements?”