Name

<= (less than or equal to)

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