Skip to content

Instantly share code, notes, and snippets.

View mhbeals's full-sized avatar

Melodee Wood (née Beals) mhbeals

View GitHub Profile
@mhbeals
mhbeals / p4hum2.md
Created May 11, 2021 10:49
Visualising Texts

Imports and Exports

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