Why is this True?


How is this equal to True: False and not True or True

Not true or true = False or False, which = false
Therefore, False and False = False

What am I missing?


Hi @mattstermh,

See this Python Operator precedence table. Operations are performed in order, starting from the bottom of the table, and going up toward the top. Accordingly, not is performed before and, which is performed before or.

  • False and not True or True
  • False and False or True
  • False or True
  • True


Got it, makes sense now. Thanks!