Boolean Logic#
Learning objectives#
After working through this topic, you should be able to:
Define the meaning of a Boolean value
Write comparisons in Python
Complete the truth tables for the basic Boolean operators
Materials#
Video with English subtitles:
Download the slides.
Video with German subtitles:
(turn subtitles on in the bottom right corner of the video)
If you’re interested in where the name “Boolean logic” comes from, the Wikipedia entry on George Boole is a good place to start.