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


#1

I don't know what is wrong! Please help

Assign True or False as appropriate on the lines below!

if (20 - 10) > 15:
bool_one = False

if (10 + 17) == 3**16:
bool_two = False

if 1**2 <= -1:
bool_three = False

if 40 * 4 >= -4:
bool_four = True

if 100 != 10**2:
bool_five = False


#2

I don't think those are supposed to be if statements. The equation is commented out, and you're supposed to set the variable to the boolean value of the answer. The way you did it, since 20-10 is NOT greater than 15, the code in the if statement will never run, and you will never set the value of bool_one.


#3

aaaaah, I understand! It's easy) Thank you)


#4

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