Simple Nested If Program In Python For Palindrome