Inequality¶
Inequality operator (!=
) can be used to find if two values are not equal.
Syntax
operand1 != operand2
Example
a != b
1 != 2
# true
"Hello" != "Hello"
# false
"Hello" != "World"
# true