Multiple Inheritance Program In Python For Palindrome