Lecture 7: More on Booleans and Conditionals

Slides

We will continue with the rest of slides from Friday, Feb 16. You can read both slide decks in their entirety, to review, or only the recommended slides.

A PDF file of the lecture slides handout on Booleans, Logical Expressions, and Predicates. Read slides 13 to the end.

A PDF file of the lecture slides handout on Conditionals. Read slides 9 to the end.

Readings

Think Python, Ch. 5: Conditionals [Sections 5.1 - 5.7].

Code

Click on this lecture_07.zip link to download the .zip file to your computer. Folder contains the Notebook for lecture activities.

Solutions

Solutions for the notebook.