Help with Or excercise (Number 7)


#1



7.Or


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


bool_one = 2**3 == 100 % 100 or 'Cleese' == 'King Arthur'

bool_two = True or False

bool_three = 100**0.5 >= 50 or False

bool_four = True or True

bool_five = 1**100 == 100*1 or 3*2*1 != 3+2+1


#2

The idea here is that you set these variables(bool_one, etc.) to either True or False. You have to evaluate the statement they give you(2**3 == 100 % 100 or 'Cleese' == 'King Arthur') and figure out if it's True or False.


#3

To add on to the above comment, you may be misreading the value for bool_one; you have 100 % 100 written where it should be 108 % 100.

But like @zh30 said, try to evaluate the expressions yourself, and simply put True or False as the values for bool_one, bool_two, etc.

Hope this helps!


#4

... the expression. And yes, we need to do this in our head.


#5

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