Python - Comparison Operators
Code Life
By Pierre Marsaa
Intro to Comparison operators
Hopefully, you remember the boolean values True and False from the previous lesson.
There is a way to "create" those boolean values, by using comparison operators. They are used to compare two values and return a boolean value.
If the result of the comparison is true, it returns True, otherwise it returns False.
↗️
Loading editor...
↶
↷
Verify