Image of therapy dogs with their names.
Use the code snippet below to answer the question.

derek_color = 'cream'
wagner_color = 'black'
josie_color = 'cream'

The next few pages will have questions about the code above and logical operators.
  • Another kind of operator are logical operators.
  • Logical operators help us make decisions based on multiple Booleans.
  • Here are the logical operators we'll use.
  • 1. and operator. All Booleans must be true.
  • 2. or operator. At least one Boolean is true, the rest can be false.
  • 2. not operator. True becomes false, and false becomes true.
  • Take a look at the examples!