Tidy up, make line numbers consistent with text

This commit is contained in:
Crista Lopes
2019-12-22 17:43:07 -08:00
parent ebeba3d34c
commit 6e1d72bd21
26 changed files with 30 additions and 32 deletions

View File

@@ -104,7 +104,7 @@ stack.append(0)
# the last word there will be one item left
while stack[-1] < 25 and len(stack) > 1:
heap['i'] = stack.pop()
(w, f) = stack.pop(); print(w, ' - ', f)
(w, f) = stack.pop(); print(w, '-', f)
stack.append(heap['i']); stack.append(1)
stack.append(stack.pop() + stack.pop())