Name the operators available in Identity operator? Give example.
Answers
Answered by
1
Answer:
these is your Answer
Operator Description Example
is Returns true if both variables are the same object x is y
is not Returns true if both variables are not the same object x is not y
Answered by
1
✰Evaluates to true if the variables on either side of the operator point to the same object and false otherwise. x is y, here is results in 1 if id(x) equals id(y). Evaluates to false if the variables on either side of the operator point to the same object and true otherwise.
Similar questions