# Conditionals & Control Flow 6 : AND

#1

Double check your value for bool_four!

My code is below, I tried True and False for bool_four and tried changing the lane completly and adding a =, which i thought was missing. But nothing seems to work and i dont get what is wrong?!?!?!

bool_one = 3 != 2 and 3 == 5 is False

bool_two = -(-(-(-2))) == -2 and 4 >= 16**0.5 is False

bool_three = 19 % 4 != 300 / 10 / 10 and 3 != 4 is False

bool_four = -(1**2) < 2**0 and 10 % 10 <= 20 - 10 * 2 is False

bool_five = 3 == 3 and 1 != 2 is True

#2

the point of this exercise is to walk through the condition provided by the instructions, and then assign true or false to the bools, so if you conclude that the result is false, set to false, otherwise set to true

lets do an example, from the instructions:

Set bool_one equal to the result of False and False

well, this is obviously false, so you set bool_one to false:

bool_one = False

and you do the same for the other ones

#3

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