comparison_operators
🔍 Comparison Operators
Compare values using ==
, !=
, >
, <
, >=
, and <=
. These operators return true
or false
, making them useful in conditionals and loops.
5 == 5 # true
5 != 3 # true
4 > 2 # true
3 < 7 # true
10 >= 10 # true
2 <= 1 # false