Lecture 6: Booleans, Logical Expressions, and Predicates

Slides

Important Note

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

A PDF file of the lecture slides handout on Conditionals.

Optional Slides

We have briefly discussed local and global variables. If you are interested in learning more about them, read this (short) deck of slides.

Handout on local and global variables.

Readings

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

Code

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

Solutions

Solutions will be posted after all the lecture sections have been taught.