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'

OR Operator
Simply ask "are either of these true?"
(derek_color == 'cream') or (wagner_color == 'cream') = ?
Choose an answer above!
  • For the or operator, at least one value must be True.
  • Simply ask "is at least one of these True"?
  • True or True = True. True or False = True. False or False = False
  • 2 < 5 or 3 < 5 = True
  • 5 == 4 or 5 == 5 = True
  • 5 == 4 or 5 == 6 = False