min ( x , y ) number of ' x ' and ' y ' will be deleted
if ( x > y ) : NEW_LINE INDENT for i in range ( 0 , x - y ) : NEW_LINE INDENT finalString += " x " NEW_LINE DEDENT DEDENT else : NEW_LINE INDENT for i in range ( 0 , y - x ) : NEW_LINE INDENT finalString += " y " NEW_LINE DEDENT DEDENT return finalString NEW_LINE