This and That (or This, But Not That!)


#1



Set bool_two equal to the result of False and not True or True

To me, it looks False but the it gives error.

So how it is True ???

bool_two = False


#2

the code goes from left to right (make sense right?)

So, False and not True is the same as:

False and False

which is False, then we have remaining:

False or True

which is true (with or, one of the conditions has to be true


#3

Thanks, now I got it.