Poto the next node
ptr = next ; NEW_LINE if ( ptr == head ) : NEW_LINE INDENT break NEW_LINE DEDENT if ( head == head . next ) : NEW_LINE if ( isEvenParity ( head . data ) ) : NEW_LINE INDENT head = None ; NEW_LINE DEDENT return head ; NEW_LINE return head ; NEW_LINE