First, let us recap yesterday's concordance programme.
I asked you to create a programme to display every instance of the word "to" in our sample sentence, in the context of the word immediately before and after it. I suggested that you use:
- a List
- an Iterator / While Loop
- the .join() and .append() Functions
- a For Loop