Lectures

Click on a lecture to see the video if it is available. Videos are restricted to a valid Cornell netid login. However, slides and demo code may be downloaded without a Cornell netid.

Recursion

Recursion

This lecture references Videos 17.1-17.5.

Recursion is a powerful programming tool and one of the fundamental principles of computer science. It is used in many advanced algorithms.    More ›

October 14, 2021 handout slides demos

For-Loops

For-Loops

This lecture references Videos 16.1-16.7.

Lists (and sequences) come with their own special control structure: the for-loop. This is the last traditional control structure we will see for a while.    More ›

October 7, 2021 handout slides demos

Lists (and Sequences)

Lists (and Sequences)

This lecture references Videos 15.1-15.7.

Today we introduce another sliceable data type: lists. They are similar to strings, except that they can contain data other than text.    More ›

October 5, 2021 handout slides no demos

Asserts and Error Handling

Asserts and Error Handling

This lecture references Lesson 13 and 14.

In this lecture we show how to use our understanding of Python memory to read error messages. We also show how to create our own error messages and why.    More ›

September 30, 2021 handout slides demos

Memory in Python

Memory in Python

This lecture references Lesson 12.

The last lecture pulled back the curtain on what really is happenind with memory in Python. Today we put everything back together.    More ›

September 28, 2021 handout slides demos