Mix n Match


#1

Help! This is making my brain hurt

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 = (2 <= 2) not (2 <= 3)

Make me false!

bool_three = (2 - 1) and (3 - 1)

Make me true!

bool_four = (2 + 2) or (3 + 1)


#2

I'm honestly not sure the result of this one. I'll tell you when I learn.

This will be True, as solved it is:

1 and 2

And any integers (not zero) are True.


#3

I figured it out in the end, cheers. Codeacademy do not make it easy!


#4

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 = -(12) <20 and 10 % 10 <= 20 - 10*2

Make me false!

bool_three = False or not True and True

Make me true!

bool_four = 20 % 5 != 4 and True

Make me true!

bool_five = True or True