Plz help 8/15


#1

bool_one = False

bool_two = not 3**4 < 4**3

bool_three = not 10 % 3 <= 10 % 2

bool_four = not 3**2 + 4**2 != 5**2

bool_five = True


#2

We are meant to evaluate the expressions manually, and write in the yield values:

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

# not True
bool_one = False
# not 3**4 < 4**3
bool_two = True
# not 10 % 3 <= 10 % 2
bool_three = True
# not 3**2 + 4**2 != 5**2
bool_four = True
# not not False
bool_five = False

#3

thanks for the help


#4

Hi there,

i really don't get, why is it true? The statement

10 % 3 <= 10 % 2

is True isn't it? So with the not-operater, the result should be False I thought...

Maybe you can help?


#5

get @mtf to help I have no idea


#6

Yes, I can help. First by revealing that it only took 25 days for someone to challenge this. I was hoping for instant, at first, but then figured I might get a month out of it. Almost made it until you beat me.

No, it is not true. Next problem.


#7

5 posts were split to a new topic: Problem with boolean


#8