True or False
Lesson 5 of 20 · Py.Micro
Comparisons produce booleans, the raw material of every decision.
== equal, != different, <, >, <=, >=. The result is a boolean: True or False.
Check yourself
What does 5 != 5 give?
Do it in the browser: a real Python tool, a short mission and instant feedback. No install.
Start this lesson — free