Skip to content

Instantly share code, notes, and snippets.

View davewadestein's full-sized avatar

Dave Wade-Stein davewadestein

  • DevelopIntelligence
  • Boulder, CO
View GitHub Profile
The Tragedy of Hamlet, Prince of Denmark
Shakespeare homepage | Hamlet | Entire play
ACT I
SCENE I. Elsinore. A platform before the castle.
FRANCISCO at his post. Enter to him BERNARDO
BERNARDO
## List Lab: Sieve of Eratosthenes
* create a list of the integers from 2 to 100
* start from 2, and remove all of its multiples
* next, remove all multiples of 3, 5, etc.
* when you're done, only primes will remain
* when to stop?
TWO roads diverged in a yellow wood,
And sorry I could not travel both
And be one traveler, long I stood
And looked down one as far as I could
To where it bent in the undergrowth;
Then took the other, as just as fair,
And having perhaps the better claim,
Because it was grassy and wanted wear;
Though as for that the passing there