6. And (Help)


#1

Stuck on this -

Set bool_two equal to the result of

-(-(-(-2))) == -2 and 4 >= 16 ** 0.5

Specifically this part -(-(-(-2)))

Any help would be appreciated.


#2

what is the result of -(-2)? If we solve that, we solved one set of parentheses, and we can do the same for all the others, moving outwards.


#3

That would be 2? Which is not the same as -2, then 4 is equal to the square root of 16 so would answer be false?


#4

yes, then you have to resolve the remaining minus and parentheses. If that answer is indeed 2, then 2 == -2 evaluates to false.

so this evaluates to true, so then we have:

false and true

which evaluates to?


#5

So the answer would be false?


#6

yes, you seem to understand everything just fine


#7

Great! Thank for your help, makes it all clearer now you explained each part.


#8