# This and that section

#1

Hi everyone!
Got stuck in this and that section.
Assign True or False as appropriate for bool_one through bool_five.

Set bool_one equal to the result of False or not True and True
Set bool_two equal to the result of False and not True or True
Set bool_three equal to the result of True and not (False or False)
Set bool_four equal to the result of not not True or False and not True
Set bool_five equal to the result of False or not (True and True)

I wrote:
bool_one = 5=4 or not 5=5 and 6=6

bool_two = 5=6 and not 5=5 or 7=7

bool_three = 5=5 and not (5=6 or 7=4)

bool_four = not not 8=8 or 4=5 and not 8=9

bool_five = 5=4 or not (8=8 and 1=1)

The error is:
File "python", line 5
bool_three = 5=5 and not (5=6 or 7=4)

SyntaxError: invalid syntax

Does enybody see the problem or not???

#2

you miss the point of the exercise, but the syntax problem is here:

``5=5``

a single equal sign is assign, shouldn't you compare if they are equal

#3

hello! instead of using 5=4 and not 5=5 and etc, try just using just False and True and not True, etc. You shouldn't use numbers

#4

@turtwigpo is right, for example for bool_one you should evaluate of this condition:

``False or not True and True``

is true or false, if true set bool_one to True:

``bool_one = True``

otherwise, set to False:

``bool_one = False``

and do this for all 5

#5

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