Check if ans [ i ] is equal to 1 then Print true otherwise print false
if ( ans [ i ] == 1 ) : NEW_LINE INDENT print ( " true " , end = " ▁ " ) NEW_LINE DEDENT else : NEW_LINE INDENT print ( " false " , end = " ▁ " ) NEW_LINE DEDENT