Print the constructed array
print ( " { " , end = " " ) NEW_LINE for i in range ( len ( answer ) ) : NEW_LINE INDENT if ( i == len ( answer ) - 1 ) : NEW_LINE INDENT print ( answer [ i ] , end = " } " ) NEW_LINE DEDENT else : NEW_LINE INDENT print ( answer [ i ] , end = " , ▁ " ) NEW_LINE DEDENT DEDENT