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


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


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


Thanks, now I got it.