Lectures
For-Loops
The reading for this lecture is Sections 8.3, 8.7, Chapter 10. 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. Watch › |
October 10, 2019 | slides | handout | demos |
Lists (and Sequences)
The reading for this lecture is Sections 10.1-10.2 and 10.4-10.6. Today we introduce another sliceable data type: lists. They are similar to strings, except that they can contain data other than text. Watch › |
October 8, 2019 | slides | handout | no demos |
Asserts and Error Handling
The reading for this lecture is Appendix A. 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. Watch › |
October 3, 2019 | slides | handout | demos |
Memory in Python
There is no supplementary reading for this lecture. The last lecture pulled back the curtain on what really is happenind with memory in Python. Today we put everything back together. Watch › |
October 1, 2019 | slides | handout | demos |