6. This needs all input already read in. It's an iterative problem, so this is needlessly expensive. Is Pythonic, though. 8. instead of this and line 27, enumerate(paragraphs) in the "for". 23. operator.itemgetter(0) does that lambda, but that is fine. Just know that it exists.