Name

== (equality)

Examples
a = 23
b = 23
if a == b:
    print("variables a and b are equal")
Description Determines if two values are equivalent. The equality operator is different from the assignment operator.
Syntax
value1 == value2
Parameters
value1int, float, byte, boolean
value2int, float, byte, boolean
Related > (greater than)
< (less than)
>= (greater than or equal to)
<= (less than or equal to)
!= (inequality)
Updated on Tue Jul 11 06:52:23 2017.
Creative Commons License