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'

AND Operator
Simply ask "are both of these true?"
(derek_color == 'cream') and (josie_color == 'cream') = ?
Choose an answer above!
  • For the and operator, all values must be True.
  • Simply ask "are all of these True"?
  • True and True = True. True and False = False
  • 2 < 5 and 3 < 5 = True
  • 5 == 4 and 5 == 5 = False