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


#1



I can't seem to reason out the 04. instruction of this exercise. I know that the answer is true, but I keep figuring it out as false when I apply the rules.

  1. Set bool_four equal to the result of not not True or False and not True


https://www.codecademy.com/courses/python-beginner-BxUFN/2/5?curriculum_id=4f89dab3d788890003000096#


Replace this line with your code.


#2

Err... Did you do this?

bool_four = not not True or False and not True

Please post your codes if need be.


#3

These can be pretty tricky!

not not True or False and not True

Organize these like you would PEMDAS.

(not not True) or (False and not True)

(the not's cancel out) and (not True is False) so:

(True) or (False and False)

(True) or (False)

because this is an or statement and at least one side is True:

The boolean evaluates to True


#4

Thank you both for replying. I see what you did to solve this @nickgrimes50 .