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 Feb 27 14:07:12 2024.

If you see any errors or have comments, please let us know.