add current value to the current_sum according to the Character if it ' s ▁ ' 0 ' add 1 else -1
current_sum += ( 1 if string [ i ] == '0' else - 1 ) NEW_LINE if current_sum < 0 : NEW_LINE INDENT current_sum = 0 NEW_LINE DEDENT