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'

NOT Operator
Simply ask "what is the opposite?"
not(derek_color == 'cream') = ?
Choose an answer above!
  • For the not operator, it's the opposite.
  • Simply ask "what is the opposite"?
  • not True = False. not False = True
  • not (2 < 5) = True
  • not (5 == 5) = False
  • not (5 == 5 and 2 < 5) = False