Hey guys i need help on #9 code


#1

bool_one = 2 > 10 or ((not 45 < 100) and ( 20 > 5 ))

bool_two = 3 > 5 and ((not 5 > 4) or (4 < 10))

bool_three = 40 > 10 and (not (4 < 2)or (5 < 4))

bool_four = not((not 4 > 20 ) or (3 < 1) and (not 3 > 1)

bool_five = 4 < 10 or (not (4 > 1 and 2 > 1))


#2

Hello @codinj, :slight_smile: Here, they ask you to solve the equation given, with either True or False. No need to write the equation.
You can do the math and see if it's True or False basically.
If you need more help, let me know.


#3

Yes.I still experiencing error message when run this code.

False
True
True
False
False


#4

Have you assisgned them to the variables given?
e.g

bool_one = False

#5

Thanks.When I assigned them to the variable the code went through.


#6

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