Problem in


#1



https://www.codecademy.com/courses/python-beginner-BxUFN/2/6?curriculum_id=4f89dab3d788890003000096#


File "python", line 10
bool_three = (3<2) not "j" != "k"
^
SyntaxError: invalid syntax


I just want it to work please dear god someone help


 Use boolean expressions as appropriate on the lines below!

# Make me false!
bool_one = (2 <= 2) and "Alpha" == "Bravo"  # We did this one for you!

# Make me true!
bool_two = (3<2) or "j" == "k"

# Make me false!
bool_three = (3<2) not "j" != "k"

# Make me true!
bool_four = (2*2==5) and "lol" != "lil"

# Make me true!
bool_five = (4==4) or "henlo" == "tryme"


#2

Hi @webace70481,

You are missing an operator here ...

bool_three = (3<2) not "j" != "k"

An and operator would work ...

bool_three = (3<2)  and not "j" != "k"

Also check your expression for bool_four.


#3

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