PwC interview question

Python coding questions involving palindromes.