Mix n Match


#1

Hi guys, I'm stuck at this part, and even now, I've still not realise what wrong with my code. I beg you your help.

Here we are :

bool_two = not 100 >= 101 or not 1 + 1 != 3 and 3! = 6

bool_three = not 2**3 <= 100%8 and 81 == 9 **2 or 100+12 == 112

bool_four = 3 + 3 >= 6 and 23 % 20 - 1 = 2

bool_five = "a " + "b" == "ab" # this one is a experiment

"""
And it states " File "python", line 7
bool_two = (not 100 >= 101) or (not 1 + 1 != 3) and (3! = 6)
SyntaxError: invalid syntax"

"""

Cheers !


#2

in bool_two, your last bit of the line:

 3! = 6

oops, sure you wheren't planning on doing 3 != 6? (see spacing)

also, in bool_four:

23 % 20 - 1 = 2

you want to assign a value of 2 to 23 % 20 -1? If i had to take a wild guess, you wanted to compare, use 2 equal signs.

Also, bool three is True, while it should be false