Why is my answer wrong?


#1

What is wrong with my answers? It said that my result for Bool.three is incorrect. I keep getting false or false which is false. It's saying it's incorrect.

The question:

Set bool_one equal to the result of 2**3 == 108 % 100 or 'Cleese' == 'King Arthur'
Set bool_two equal to the result of True or False
Set bool_three equal to the result of 100**0.5 >= 50 or False
Set bool_four equal to the result of True or True
Set bool_five equal to the result of 1**100 == 100**1 or 3 * 2 * 1 != 3 + 2 + 1

My answers:

bool_one = True or False is True

bool_two = True or False is True

bool_three = False or False is False

bool_four = True or True is True

bool_five = False or False is False

Oops, try again. Double check your value for bool_three!


#2

The result of a boolean expression is either True, or False, that's all you would put when it says "set it to the result of"

The is operator hasn't been introduced and probably doesn't do what you think. It tests whether two values are the same one (not equal, same)


#3

Thank you! Got it!.I guess I was looking too hard into it.


#4

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