Connect dependent statements
True AND True → True
True AND False → False
False AND False → False
Both must be True
Connect alternatives
True OR True → True
True OR False → True
False OR False → False
At least one must be True
Invert a statement
NOT True → False
NOT False → True
Flips the truth value
# AND - Both conditions must be true age = 20 has_license = True can_drive = age >= 18 and has_license # True # OR - At least one must be true is_weekend = True is_holiday = False can_sleep_in = is_weekend or is_holiday # True # NOT - Flip the condition is_raining = False bring_umbrella = not is_raining # True