If count of open brackets becomes less than 0
if ( cntForOpen < 0 ) : NEW_LINE INDENT check = 0 NEW_LINE break NEW_LINE DEDENT if ( check and cntForOpen == 0 ) : NEW_LINE print ( " Yes , ▁ " , end = " " ) NEW_LINE