Coditions and Control Flow Mix and Match


Hey I need help with my code. I researched and tried to solve it on my own, but don't know what I'm doing wrong. Any help will be really appreciated. Thanks.

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 = (4<=4) and "I" == "I"

Make me false!

bool_three = (5 <= 6) or "Me" == "You"

Make me true!

bool_four = (1 <= 1) and "Coding" == "Coding"

Make me true!

bool_five = (2 = 2) not "Fake" == "Real"



Since you're using the logical operator OR you'll just need one of your statements to be True so the logical value of the expression will be True.
In this case 5 is less or equal to six but "Me" is not equal to you so:

T or F => T

You're trying to assign a number to another number and that, as far as I know, doesn't work in Python (or in any other language).

= -> assign
== -> compare

Also, the NOT operator will get the oposite of a logical value so if something returns True, it will turn into False.
But you should use something to compare one statement (2 == 2) with another "Fake" == "Real".
The logical operators we have are:

True and True => True
True and False => False
False and True => False
False and False => False

True or True => True
True or False => True
False or True => True
False or False => False

not True => False
not False => True
not not False => False #not not False -> not (True) -> False

If I wasn't clear, let me know and I'll find another way to explain it :slightly_smiling: