Anthology interview question

Q: Python coding for string palindrome without using libraries