Booleans
We looked at how Python handles Numbers, now let's see how it handles inequalities - things that are either TRUE or FALSE.
The < sign means "less than," and the > sign "greater than" in Python, just like you may have learned in school.
Expressing TRUE
What's true? Anything that's logically true, like:
Expressing FALSE
What's false? Anything that's logically false, like:
Challenge!
1. Use the console below to type four "less than or greater than" math problems. Two should return True and two should return False
Above, in the sample problems, we used the == symbol. What do you think it means? Try using it in the console below with different numbers on either side, until you think you've got a sense for it. (We'll talk about it next!)