Learn
Conditionals & Control Flow
How the Tables Have Turned

Comparisons result in either True or False, which are booleans as we learned before in this exercise.

# Make me true! bool_one = 3 < 5

Let’s switch it up: we’ll give the boolean, and you’ll write the expression, just like the example above.

Instructions

1.

For each boolean value in the editor, write an expression that evaluates to that value. Remember, comparators are: ==, !=, >, >=, <, and <=.

Use at least three different ones!

Don’t just use True and False! That’s cheating!

Folder Icon

Take this course for free

Already have an account?