Name

< (less than)

Examples
a = 22
b = 23
if a < b:
    print("variable a is less then variable b ")
Description Tests if the value on the left is smaller than the value on the right.
Syntax
value1 < value2
Parameters
value1int or float
value2int or float
Related > (greater than)
>= (greater than or equal to)
<= (less than or equal to)
== (equality)
!= (inequality)
Updated on Tue Jul 11 06:52:23 2017.
Creative Commons License