Conditions and control flow problem 10


I don’t understand not, and , and or.

bool_one = (2 <= 2) and “Alpha” == “Bravo” # We did this one for you!

Make me true!

bool_two = (2 <= 9) not “Alpha” == “Bravo”

Make me false!

bool_three = (3 <= 3) and “Alpha” == “Bravo”

Make me true!

bool_four = (2 == 2) or “Alpha” == “Bravo”

Make me true!

bool_five =


AND needs all operands to be True, else the expression is False.

OR needs all operands to be False, else the expression is True.

The above are binary operators that take two operands, one on either side.

A and B

A or B

NOT is an unary operator with only one operand, immediately to its right.

not A

not B

Read up on truthy and falsey to learn more about how NOT works. A truthy will be toggled to False, a falsey will be toggled to True.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.