Comparison operators are used to compare two values. Examples -
| Name of the operator | Symbol | Example |
| Equal | == | x==y |
| Not equal | != | X!=y |
Study more about python at Python Class 10
Ask the community — students and mentors are here to help, and you can search past answers too.
Ask a Question arrow_forward