Remove elements from arr [ ] at indexes ind1 and ind2
def removeAndPrintResult ( arr , n , ind1 , ind2 = - 1 ) : NEW_LINE INDENT for i in range ( n - 1 , - 1 , - 1 ) : NEW_LINE INDENT if i != ind1 and i != ind2 : NEW_LINE INDENT print ( arr [ i ] , end = " " ) NEW_LINE DEDENT DEDENT DEDENT