Stuck in "And" lesson


#1




When I click "Save and submit code", an error pops up saying"Oops, try again. Make sure you have a value for all 5 variables!"


I thought it would run fine.


 
bool_one = 5 == 6 and 5 == 4

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

bool_three = 19 % 4 != 300 / 10 / 10 and 3 = 8

bool_four = -(1**2) < 2**0 and 10 % 10 <= 20 - 10 * 2

bool_five = 3 == 3 and 9 == 9


#2

Nevermind got it working.


#3

It keeps giving me error: Double check your value for bool_four. What's wrong with this one???

bool_one = False and False is False;

bool_two = -(-(-(-2))) == -2 and 4 >= 16**0.5 is False;

bool_three = 19 % 4 != 300 / 10 / 10 and False is False;

bool_four = -(1**2) < 2**0 and 10 % 10 <= 20 - 10 * 2 is True;

bool_five = True and True is True;


#4

I have exactly the same problem with the number 4, please some help!!


#5

#6

this topic is for helping ihax1234567890

lets do bool_one together, here is the condition of bool_one provided by the exercise:

False and False

you have to evaluate if this condition is true or false, if this condition would evaluate to false, set bool_one to false:

bool_one = False

if this condition would evaluate to True, set bool_one to true:

bool_one = True

now do the same for bool_two, three, four and five.

if you still have a question now, go here and make a new topic.


Problem exercise "And"