# 6. And exercise code question [SOLVED]

#1

I'm not really sure what I did here, but I got the green light to next exercise. Is this the correct code for this exercise? because when I delete the "True" from line 3 and only enter "bool_two = False" , it still shows I did this exercise correct.

INSTRUCTION:
Set bool_one equal to the result of False and False
Set bool_two equal to the result of -(-(-(-2))) == -2 and 4 >= 16**0.5
Set bool_three equal to the result of 19 % 4 != 300 / 10 / 10 and False
Set bool_four equal to the result of -(1**2) < 2**0 and 10 % 10 <= 20 - 10 * 2
Set bool_five equal to the result of True and True

``````bool_one = 1 > 2 and 2 > 3

bool_two = False and True

bool_three = False and 3 < 2

bool_four = True and True

bool_five = 2 > 1 and 3 > 2``````

#2

For this lesson our answers should not be expressions, but a visual check of the question.

``````False and False   =>    response: False

-(-(-(-2))) == -2 and 4 >= 16**0.5  => 2 == -2 and True  =>   response: False``````

and so on.

#3

So this should be the correct code for this lesson then?

bool_one = False

bool_two = False

bool_three = False

bool_four = True

bool_five = True

#4

Assuming your evaluations are correct, yes, that is what is expected. The same applies in the other lessons, as I recall.

#5

2 posts were split to a new topic: Telling me my bool_four is incorrect

#6