Else update the intersection
else : NEW_LINE INDENT l = max ( l , intervals [ i ] [ 0 ] ) NEW_LINE r = min ( r , intervals [ i ] [ 1 ] ) NEW_LINE DEDENT print ( " [ " , l , " , ▁ " , r , " ] " ) NEW_LINE