Sort an outline at every level: Difference between revisions
m
'write & test' & link to example
(Your sort should not alter the type or size of the indentation units used in the input outline.) |
m ('write & test' & link to example) |
||
Line 2:
;Task:
Write and test a function over an indented plain text outline which either:
# Reports that the indentation characters or widths are not consistent enough to make the outline structure clear, or
# returns a copy of the outline in which the sub-lists at every level of indentation are sorted.
Line 18:
Your sort should not alter the type or size of the indentation units used in the input outline.
(For an application of
'''Tests'''
|