This and That


#1

i can' t understand anything in "this and that" here is my code can
bool_one = 1 > 2 or not 10 = 5 * 2 and 100 > 50

bool_two = 9 = 3 * 4 and not 100 * 1 = 100 or 15 > 8

bool_three = 80 = 8 * 10 or not ( 100=10*10 or 800=400*2 )

bool_four = not not 55 < 60 or 100 = 505 and not 80 = 40 * 2

bool_five = 8888 > 99999 or not (809 = 800 + 9 and 888 = 800 + 80 +8 )

can someone please tell me what is wrong with my code ?? and help me


#2

Instructions given in the comments:

# Assign `True` or `False` as appropriate on the lines below!

# False or not True and True
bool_one = 
# False and not True or True
bool_two = 
# True and not (False or False)
bool_three = 
# not not True or False and not True
bool_four = 
# False or not (True and True)
bool_five =

Our response should be False or True for each case above. Let's do the first one...

# False or not True and True

There are three operators, or, not & and. Following the order of precedence rule, we begin with not. not True is False

# False or False and True

Next we move to and. False and True is False

# False or False

which is False, so,

bool_one = False

#3

thank you very much
i solved the problem
i'm probably the stupidest person on the planet


#4

Not understanding or not reading the instructions is not 'stupid', but it is reckless. Reading and understanding the instructions and then NOT following them, that is stupid, but I don't see that as the case here. Go easy on yourself. We all stumble. It's human.