Why is this conditional true?


#1

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) ?


#2

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


#3

d'Oh!
thanks for responding


#4

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