Tidy a function
Someone left this function in a state. Make it match the target shown in the panel below the prose, exactly — same lines, same order, same indentation of four spaces per level.
What’s wrong with the buffer, top to bottom:
- a leftover
printline has to go countis computed before the loop instead of after it- the body of the loop was split across two lines and lost its indent
LENshould be lowercase- the result should round to two places, not one
If a step has you stuck, lesson 4 covers selecting and deleting, lesson 6 moving lines through registers, and lesson 8 joining, indenting, changing case, and adjusting numbers. Undo is always there if a change goes wrong.