Palindrome Python Code Using For Loop