Create a loop for testing
head . next . next . next . next . next = head . next . next NEW_LINE if ( isPalindrome ( head ) == True ) : NEW_LINE INDENT print ( " Palindrome " ) NEW_LINE DEDENT else : NEW_LINE INDENT print ( " Not ▁ Palindrome " ) NEW_LINE DEDENT