Nested If Example Program In Python For Palindrome