Lesson Plans

Below are lesson plans to solve a variety of problems (from TED-Ed Riddles) using Python code in Jupyter notebooks. For each problem, there are three resources:

  • Teacher lesson plan (how to introduce and teach the problem)
  • Teacher Jupyter notebook (including instructions)
  • Student Jupyter notebook

Amphibians and algorithms
Grade level: Grades 4-8

There are a group of frogs hanging out on a log. Students need to figure out to move one group of frogs on the left-hand side of the log, and another group to the right-hand side of the log.

Decoding coins
Grade level: Grades 8-10

There are 21 coins on a table; the student who takes the last coin wins. No one can skip a turn and students can only take a two coins per turn. 

Calendars and code
Grade level: Grades 8-10

In this problem, students determine which day of week their birthday falls on for the current year. Students need to use multiple numbers and patterns to solve the problem.

Escape zombies with patterns
Grade level: Grades 8-9

Students need to use patterns to help four characters escape a zombie attack. The escape route is a rickety bridge that can only support two people at a time. The zombies arrive in 17 minutes.