Comparison operator
In python, Comparison Operators Compare the value of two or more Operands and return the result on the basis of Boolean "True or False".
Simply, Comparison Operators are used to compare one value to another.
In Python, Followings are the Comparison Operators:
Note:Sometimes Equal To Operator(==) of comparison Operator and is Operator(is) of Identity Operator is Same. Sometimes NOT Equal TO (!=) Operator of Comparison Operator and is not Operator(is not) of Identity Operator is same.
Comments
Post a Comment