Ah, I misunderstood. Did think of splitting but felt it distracted from the actual example. But better to just follow PEP8. Now changed.