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 |
| ||||
Related |
> (greater than) < (less than) >= (greater than or equal to) <= (less than or equal to) != (inequality) |
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