prints the largest component
for i in range ( n ) : NEW_LINE INDENT for j in range ( m ) : NEW_LINE INDENT if ( result [ i ] [ j ] != 0 ) : NEW_LINE INDENT print ( result [ i ] [ j ] , end = ' ▁ ' ) NEW_LINE DEDENT else : NEW_LINE INDENT print ( ' . ▁ ' , end = ' ' ) NEW_LINE DEDENT DEDENT print ( ) NEW_LINE DEDENT