If we found a pair
if vect1 [ left ] + vect2 [ right ] == Sum : NEW_LINE INDENT print ( " ( " , vect1 [ left ] , " , " , vect2 [ right ] , " ) , " , end = " ▁ " ) NEW_LINE left += 1 NEW_LINE right -= 1 NEW_LINE DEDENT