Lecture 6: Booleans, Logical Expressions, and Predicates


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

You may also want to look ahead at the Lec 07 slides 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.


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


Click on this lec06_booleans.zip link to download the .zip file to your computer. The unzipped folder contains the notebook for lecture activities.


HTML solutions for the notebook.

lec06_booleans_solns.zip link.