Reverse Singly Linked List Program In Python For Palindrome