a = 23 b = 23 if a == b: print("variables a and b are equal")
Determines if two values are equivalent. The equality operator is different from the assignment operator.
value1 == value2
> (greater than)|
< (less than)
>= (greater than or equal to)
<= (less than or equal to)
Updated on Mon Sep 21 15:53:24 2020.
If you see any errors or have comments, please let us know.
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License