Why is this conditional true?


I made the statement:
not True == (not not False and True)
with the intention that it should be False but I am told to check my value...
does this not simplify to False == (False and True) ?


It does, but false and true is false. So false == false is true.


thanks for responding


We can't do anything the equality so we move on to the AND inside the brackets, then invert all the not's and evaluate the equality.

not True == (not not False) => False == False
# True